From 83cac090b7ed4088a87cd320aa2a57f18cca2839 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 12 Sep 2002 22:32:32 +0000 Subject: [PATCH 1/1] add missing parameter to a warn call --- pppd/sys-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2