Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ftpd More -Wformat cleanups.
details: https://anonhg.NetBSD.org/src/rev/402f8d49714c
branches: trunk
changeset: 494603:402f8d49714c
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Sun Jul 09 02:24:30 2000 +0000
description:
More -Wformat cleanups.
diffstat:
libexec/ftpd/conf.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r dc8db9b7745b -r 402f8d49714c libexec/ftpd/conf.c
--- a/libexec/ftpd/conf.c Sun Jul 09 01:55:18 2000 +0000
+++ b/libexec/ftpd/conf.c Sun Jul 09 02:24:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.31 2000/06/19 15:15:03 lukem Exp $ */
+/* $NetBSD: conf.c,v 1.32 2000/07/09 02:24:30 sommerfeld Exp $ */
/*-
* Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: conf.c,v 1.31 2000/06/19 15:15:03 lukem Exp $");
+__RCSID("$NetBSD: conf.c,v 1.32 2000/07/09 02:24:30 sommerfeld Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -510,7 +510,7 @@
continue;
then = st.st_mtime;
if (code != 0) {
- reply(-code, "");
+ reply(-code, "%s", "");
code = 0;
}
reply(-code, "Please read the file %s", *rlist);
@@ -539,7 +539,7 @@
return(0);
if ((f = fopen(file, "r")) == NULL)
return (0);
- reply(-code, "");
+ reply(-code, "%s", "");
for (;
(buf = fparseln(f, &len, NULL, "\0\0\0", 0)) != NULL; free(buf)) {
Home |
Main Index |
Thread Index |
Old Index