summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-05-24 01:56:52 +0000
committerdg <dg@FreeBSD.org>1995-05-24 01:56:52 +0000
commit2adc1c7fb515eac9a2a779c3d8fd99138d74c2bd (patch)
tree25952ede1c169cc55e28071b9a9dc7f570a39d5d /usr.sbin/pppd
parent3ea9b3c64fbf9f43f0a19c20d54dd948f43e0dc4 (diff)
downloadFreeBSD-src-2adc1c7fb515eac9a2a779c3d8fd99138d74c2bd.zip
FreeBSD-src-2adc1c7fb515eac9a2a779c3d8fd99138d74c2bd.tar.gz
Add missing arg to fprintf() error message.
Submitted by: Mike Grupenhoff
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r--usr.sbin/pppd/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppd/options.c b/usr.sbin/pppd/options.c
index 0656128..14dc3c2 100644
--- a/usr.sbin/pppd/options.c
+++ b/usr.sbin/pppd/options.c
@@ -18,7 +18,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: options.c,v 1.10 1994/05/27 00:43:34 paulus Exp $";
+static char rcsid[] = "$Id: options.c,v 1.2 1994/09/25 02:32:08 wollman Exp $";
#endif
#include <stdio.h>
@@ -1009,7 +1009,7 @@ setescape(argv)
}
p = endp;
if (n < 0 || 0x20 <= n && n <= 0x3F || n == 0x5E || n > 0xFF) {
- fprintf(stderr, "%s: can't escape character 0x%x\n", n);
+ fprintf(stderr, "%s: can't escape character 0x%x\n", progname, n);
ret = 0;
} else
xmit_accm[0][n >> 5] |= 1 << (n & 0x1F);
OpenPOWER on IntegriCloud