From: Paul Mackerras Date: Thu, 12 Sep 2002 22:32:32 +0000 (+0000) Subject: add missing parameter to a warn call X-Git-Tag: ppp-2.4.7~393 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=83cac090b7ed4088a87cd320aa2a57f18cca2839;ds=sidebyside add missing parameter to a warn call --- diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 5f40b06..d630bca 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -578,7 +578,7 @@ static int make_ppp_unit() ifunit = req_unit; x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit); if (x < 0 && req_unit >= 0 && errno == EEXIST) { - warn("Couldn't allocate PPP unit %d as it is already in use"); + warn("Couldn't allocate PPP unit %d as it is already in use", req_unit); ifunit = -1; x = ioctl(ppp_dev_fd, PPPIOCNEWUNIT, &ifunit); }