summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2009-04-26 10:30:07 +0000
committersthen <sthen@openbsd.org>2009-04-26 10:30:07 +0000
commitcfab326b1be908ec32a36902e4ed5af41b51075a (patch)
treee4ecfdb8b208701561c9dc555254572b5954c54a
parentI am disappointed that the commit rate to this file is has slowed. (diff)
downloadwireguard-openbsd-cfab326b1be908ec32a36902e4ed5af41b51075a.tar.xz
wireguard-openbsd-cfab326b1be908ec32a36902e4ed5af41b51075a.zip
make two similar text strings identical; improves consistency and shrinks
the text segment slightly (though due to padding it does not change the size of the binary). ok martynas@
-rw-r--r--usr.bin/ftp/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ftp/util.c b/usr.bin/ftp/util.c
index 63288d9c930..1edf343ff9b 100644
--- a/usr.bin/ftp/util.c
+++ b/usr.bin/ftp/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.57 2009/04/13 01:47:04 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.58 2009/04/26 10:30:07 sthen Exp $ */
/* $NetBSD: util.c,v 1.12 1997/08/18 10:20:27 lukem Exp $ */
/*-
@@ -64,7 +64,7 @@
*/
#if !defined(lint) && !defined(SMALL)
-static const char rcsid[] = "$OpenBSD: util.c,v 1.57 2009/04/13 01:47:04 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: util.c,v 1.58 2009/04/26 10:30:07 sthen Exp $";
#endif /* not lint and not SMALL */
/*
@@ -412,7 +412,7 @@ remglob2(char *argv[], int doswitch, char **errbuf, FILE **ftemp, char *type)
temp[len++] = '/';
(void)strlcpy(&temp[len], TMPFILE, sizeof temp - len);
if ((fd = mkstemp(temp)) < 0) {
- warn("unable to create temporary file %s", temp);
+ warn("unable to create temporary file: %s", temp);
return (NULL);
}
close(fd);