summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorlum <lum@cvs.openbsd.org>2012-06-11 18:30:04 +0000
committerlum <lum@cvs.openbsd.org>2012-06-11 18:30:04 +0000
commit82fa559ed49d427920649b5b1403ed10f95ddb35 (patch)
treeb1cf79ce41d3f4918814816eff82fa4c27bd80c6 /usr.bin/mg
parente2197907f91515ca3588ff3b77052a254e3b384f (diff)
Change error message to reflect the correct filename: nname is 'New
name' as opposed to tname 'Temp name'
Diffstat (limited to 'usr.bin/mg')
-rw-r--r--usr.bin/mg/fileio.c4
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);
}