diff options
author | 2012-06-11 18:30:03 +0000 | |
---|---|---|
committer | 2012-06-11 18:30:03 +0000 | |
commit | 66032d99fcbe06d947ff5eba2bc92bc4facf61fa (patch) | |
tree | 96a82b0e0d168d86a08aac950da0fbb2cf8e9bcd | |
parent | sync (diff) | |
download | wireguard-openbsd-66032d99fcbe06d947ff5eba2bc92bc4facf61fa.tar.xz wireguard-openbsd-66032d99fcbe06d947ff5eba2bc92bc4facf61fa.zip |
Change error message to reflect the correct filename: nname is 'New
name' as opposed to tname 'Temp name'
-rw-r--r-- | usr.bin/mg/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/fileio.c b/usr.bin/mg/fileio.c index 3c8b0c96f96..4bb9289eb2e 100644 --- a/usr.bin/mg/fileio.c +++ b/usr.bin/mg/fileio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fileio.c,v 1.89 2012/05/25 04:56:58 lum Exp $ */ +/* $OpenBSD: fileio.c,v 1.90 2012/06/11 18:30:03 lum Exp $ */ /* This file is in the public domain. */ @@ -211,7 +211,7 @@ fbackupfile(const char *fn) } if (asprintf(&nname, "%s~", fn) == -1) { - ewprintf("Can't allocate temp file name : %s", strerror(errno)); + ewprintf("Can't allocate backup file name : %s", strerror(errno)); return (ABORT); } |