diff options
author | emaste <emaste@FreeBSD.org> | 2011-01-04 00:39:56 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2011-01-04 00:39:56 +0000 |
commit | 43700b5724552df0ba0240e94da78673d8477e98 (patch) | |
tree | 24c2fe6819ae5b72353161055a0e58160e03346e /libexec/ftpd/ftpd.c | |
parent | 005e768447a1afdb655d8e7ca8c34c9854140f98 (diff) | |
download | FreeBSD-src-43700b5724552df0ba0240e94da78673d8477e98.zip FreeBSD-src-43700b5724552df0ba0240e94da78673d8477e98.tar.gz |
Make format string a string literal. (Discovered by clang.)
MFC After: 1 week
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r-- | libexec/ftpd/ftpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index dd9d469..21c218e 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); } |