diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2011-12-16 16:07:39 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2011-12-16 16:07:39 +0000 |
| commit | 789732b939a2df6e5d8bae6fa510519497ed46ca (patch) | |
| tree | 11fe472e2faf8e97befa760bb28423d33ba39834 /libexec | |
| parent | 4df50ce813db5d75126500b324c0b19ae4d1520d (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/pppoed/pppoed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/pppoed/pppoed.c b/libexec/pppoed/pppoed.c index f07dd8c07d5d4..a5c0b7a08021c 100644 --- a/libexec/pppoed/pppoed.c +++ b/libexec/pppoed/pppoed.c @@ -570,8 +570,8 @@ main(int argc, char *argv[]) } exec = (char *)alloca(sizeof DEFAULT_EXEC_PREFIX + strlen(label)); if (exec == NULL) { - fprintf(stderr, "%s: Cannot allocate %d bytes\n", prog, - (int)(sizeof DEFAULT_EXEC_PREFIX) + strlen(label)); + fprintf(stderr, "%s: Cannot allocate %zu bytes\n", prog, + sizeof DEFAULT_EXEC_PREFIX + strlen(label)); return EX_OSERR; } strcpy(exec, DEFAULT_EXEC_PREFIX); |
