Apply __printflike() to the appendf() prototype so the compiler
can detect format errors.
This commit is contained in:
parent
82c03024c2
commit
eb5b2bb3ae
@ -240,7 +240,7 @@ static struct passwd *
|
||||
sgetpwnam(char *);
|
||||
static char *sgetsave(char *);
|
||||
static void reapchild(int);
|
||||
static void appendf(char **, char *, ...);
|
||||
static void appendf(char **, char *, ...) __printflike(2, 3);
|
||||
static void logcmd(char *, char *, char *, off_t);
|
||||
static void logxfer(char *, off_t, time_t);
|
||||
static char *doublequote(char *);
|
||||
|
Loading…
Reference in New Issue
Block a user