summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/systems.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-03-08 23:51:50 +0000
committerbrian <brian@FreeBSD.org>2001-03-08 23:51:50 +0000
commit298eccdc148d36583de336afa8746580f3a33aff (patch)
tree4930fa9219854ec1b2631e7ff7770d40461aee98 /usr.sbin/ppp/systems.c
parent4010cd1c76927246d32483cd92a0c8cb0c42a159 (diff)
downloadFreeBSD-src-298eccdc148d36583de336afa8746580f3a33aff.zip
FreeBSD-src-298eccdc148d36583de336afa8746580f3a33aff.tar.gz
MAXPATHLEN -> PATH_MAX
Don't assume MAXHOSTNAMELEN includes the NUL Correct a diagnostic Use "localhost" in our prompt instead of ""
Diffstat (limited to 'usr.sbin/ppp/systems.c')
-rw-r--r--usr.sbin/ppp/systems.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/systems.c b/usr.sbin/ppp/systems.c
index 90e1183..1b45853 100644
--- a/usr.sbin/ppp/systems.c
+++ b/usr.sbin/ppp/systems.c
@@ -313,7 +313,7 @@ ReadSystem(struct bundle *bundle, const char *name, const char *file,
char *cp;
int n, len;
char line[LINE_LEN];
- char filename[MAXPATHLEN];
+ char filename[PATH_MAX];
int linenum;
int argc;
char *argv[MAXARGS];
OpenPOWER on IntegriCloud