diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-28 04:11:25 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-28 04:11:25 +0000 |
commit | cf934283482a244de7617f71cd4e15afb8be3f65 (patch) | |
tree | d0e823af40d893b0d53e0daafa3f5708ab7ce8fd /usr.sbin/bootpd | |
parent | 9527b2d77697af6d62e535b5dd5ccc9cb8001b63 (diff) |
use MAXPATHLEN
Diffstat (limited to 'usr.sbin/bootpd')
-rw-r--r-- | usr.sbin/bootpd/bootpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bootpd/bootpd.c b/usr.sbin/bootpd/bootpd.c index e630e06c486..10ca0e678d7 100644 --- a/usr.sbin/bootpd/bootpd.c +++ b/usr.sbin/bootpd/bootpd.c @@ -21,7 +21,7 @@ SOFTWARE. ************************************************************************/ #ifndef lint -static char rcsid[] = "$Id: bootpd.c,v 1.6 1998/11/28 04:07:22 millert Exp $"; +static char rcsid[] = "$Id: bootpd.c,v 1.7 1998/11/28 04:11:24 millert Exp $"; #endif /* @@ -609,7 +609,7 @@ handle_request() int32 bootsize = 0; unsigned hlen, hashcode; int32 dest; - char realpath[1024]; + char realpath[MAXPATHLEN]; char *clntpath; char *homedir, *bootfile; int n; |