diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2012-09-04 20:29:18 +0200 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-09-05 22:35:48 +0400 |
commit | b4eec284b0814c01c575492af73dbe23ff81f5e8 (patch) | |
tree | d0bb188f1cd694f773b0cf26e00f4e2205311951 /accel-pppd/ctrl/pppoe/pppoe.c | |
parent | fdeeb6f8547617a0478ffe847b76c46fa45487d0 (diff) | |
download | accel-ppp-b4eec284b0814c01c575492af73dbe23ff81f5e8.tar.gz accel-ppp-b4eec284b0814c01c575492af73dbe23ff81f5e8.zip |
Fix format string errors
Fix several errors and compiler warnings in format string
arguments.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl/pppoe/pppoe.c')
-rw-r--r-- | accel-pppd/ctrl/pppoe/pppoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c index b0734c8f..22fcd62f 100644 --- a/accel-pppd/ctrl/pppoe/pppoe.c +++ b/accel-pppd/ctrl/pppoe/pppoe.c @@ -1351,7 +1351,7 @@ static int init_secret(struct pppoe_serv_t *serv) DES_cblock key; if (read(urandom_fd, serv->secret, SECRET_LENGTH) < 0) { - log_emerg("pppoe: failed to read /dev/urandom\n", strerror(errno)); + log_emerg("pppoe: failed to read /dev/urandom: %s\n", strerror(errno)); return -1; } |