diff options
author | brian <brian@FreeBSD.org> | 2001-03-08 23:51:50 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-03-08 23:51:50 +0000 |
commit | 298eccdc148d36583de336afa8746580f3a33aff (patch) | |
tree | 4930fa9219854ec1b2631e7ff7770d40461aee98 /usr.sbin/ppp/server.h | |
parent | 4010cd1c76927246d32483cd92a0c8cb0c42a159 (diff) | |
download | FreeBSD-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/server.h')
-rw-r--r-- | usr.sbin/ppp/server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/server.h b/usr.sbin/ppp/server.h index 805c438..9fdc52c 100644 --- a/usr.sbin/ppp/server.h +++ b/usr.sbin/ppp/server.h @@ -35,7 +35,7 @@ struct server { struct { char passwd[50]; - char sockname[MAXPATHLEN]; /* Points to local socket path */ + char sockname[PATH_MAX]; /* Points to local socket path */ mode_t mask; u_short port; /* tcp socket */ |