summaryrefslogtreecommitdiff
path: root/usr.sbin/pppd
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1997-05-10 03:44:50 +0000
committerBrian Somers <brian@FreeBSD.org>1997-05-10 03:44:50 +0000
commit72e159b70c939b28cf85ad3cd2bc1f2d3e5d5e51 (patch)
tree3296703696781176f810ece452114f8b575821b7 /usr.sbin/pppd
parent41c6c54314db83bff495e48638c321357e9d8256 (diff)
Notes
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r--usr.sbin/pppd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c
index c13a90d5f1d6..5fb98dd533e7 100644
--- a/usr.sbin/pppd/main.c
+++ b/usr.sbin/pppd/main.c
@@ -18,7 +18,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: main.c,v 1.10 1997/02/22 16:11:48 peter Exp $";
+static char rcsid[] = "$Id: main.c,v 1.11 1997/04/15 07:00:33 danny Exp $";
#endif
#include <stdio.h>
@@ -398,7 +398,7 @@ main(argc, argv)
/* write interface unit number to file */
for (n = strlen(devnam); n > 0 ; n--)
if (devnam[n] == '/') {
- n = n++;
+ n++;
break;
}
(void) sprintf(iffilename, "%s%s.if", _PATH_VARRUN, &devnam[n]);