summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/ppp/pppd/utils.c
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2011-12-06 18:51:00 +0000
committerThomas Backlund <tmb@mageia.org>2011-12-06 18:51:00 +0000
commit2c5aaa70c87d5d03632e17e970fcde6f5801f450 (patch)
tree478a9b36f08262e75f75f77ec1fe9d6d06f1a5b1 /mdk-stage1/ppp/pppd/utils.c
parentd4ce253d84286819b9f87922d608085ca5c94dc5 (diff)
downloaddrakx-backup-do-not-use-2c5aaa70c87d5d03632e17e970fcde6f5801f450.tar
drakx-backup-do-not-use-2c5aaa70c87d5d03632e17e970fcde6f5801f450.tar.gz
drakx-backup-do-not-use-2c5aaa70c87d5d03632e17e970fcde6f5801f450.tar.bz2
drakx-backup-do-not-use-2c5aaa70c87d5d03632e17e970fcde6f5801f450.tar.xz
drakx-backup-do-not-use-2c5aaa70c87d5d03632e17e970fcde6f5801f450.zip
1.52:
- fix build with gcc-4.6.2 * fixes for -Werror=unused-but-set-variable * minor whitespace cleanups
Diffstat (limited to 'mdk-stage1/ppp/pppd/utils.c')
-rw-r--r--mdk-stage1/ppp/pppd/utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdk-stage1/ppp/pppd/utils.c b/mdk-stage1/ppp/pppd/utils.c
index 64b960a63..0294ccf42 100644
--- a/mdk-stage1/ppp/pppd/utils.c
+++ b/mdk-stage1/ppp/pppd/utils.c
@@ -616,10 +616,9 @@ logit(level, fmt, args)
char *fmt;
va_list args;
{
- int n;
char buf[1024];
- n = vslprintf(buf, sizeof(buf), fmt, args);
+ vslprintf(buf, sizeof(buf), fmt, args);
log_write(level, buf);
}
@@ -946,4 +945,3 @@ unlock()
lock_file[0] = 0;
}
}
-