From 43700b5724552df0ba0240e94da78673d8477e98 Mon Sep 17 00:00:00 2001 From: emaste Date: Tue, 4 Jan 2011 00:39:56 +0000 Subject: [PATCH] Make format string a string literal. (Discovered by clang.) MFC After: 1 week --- libexec/ftpd/ftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index dd9d469c8516..21c218e171fb 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -2153,7 +2153,7 @@ send_data(FILE *instr, FILE *outstr, size_t blksize, off_t filesize, int isreg) } } ENDXFER; - reply(226, msg); + reply(226, "%s", msg); return (0); }