Skip to content

Commit

Permalink
Make format string a string literal. (Discovered by clang.)
Browse files Browse the repository at this point in the history
MFC After: 1 week
  • Loading branch information
emaste committed Jan 4, 2011
1 parent d01b2da commit 62f390e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/ftpd/ftpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 62f390e

Please sign in to comment.