From 459c40194d704bc57ca28165b7492d0931a6bc75 Mon Sep 17 00:00:00 2001 From: gwr Date: Wed, 24 Aug 1994 01:34:47 +0000 Subject: [PATCH] Fix missing initialization (thanks to Brezak). --- usr.sbin/bootp/bootpd/bootpd.c | 3 ++- usr.sbin/bootpd/bootpd.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bootp/bootpd/bootpd.c b/usr.sbin/bootp/bootpd/bootpd.c index cdd042c3d497..35ca4801ca55 100644 --- a/usr.sbin/bootp/bootpd/bootpd.c +++ b/usr.sbin/bootp/bootpd/bootpd.c @@ -21,7 +21,7 @@ SOFTWARE. ************************************************************************/ #ifndef lint -static char rcsid[] = "$Id: bootpd.c,v 1.2 1994/08/22 22:14:43 gwr Exp $"; +static char rcsid[] = "$Id: bootpd.c,v 1.3 1994/08/24 01:34:47 gwr Exp $"; #endif /* @@ -816,6 +816,7 @@ HW addr type is IEEE 802. convert to %s and check again\n", clntpath = &realpath[strlen(realpath)]; } else { clntpath = realpath; + clntpath[0] = '\0'; } /* diff --git a/usr.sbin/bootpd/bootpd.c b/usr.sbin/bootpd/bootpd.c index cdd042c3d497..35ca4801ca55 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.2 1994/08/22 22:14:43 gwr Exp $"; +static char rcsid[] = "$Id: bootpd.c,v 1.3 1994/08/24 01:34:47 gwr Exp $"; #endif /* @@ -816,6 +816,7 @@ HW addr type is IEEE 802. convert to %s and check again\n", clntpath = &realpath[strlen(realpath)]; } else { clntpath = realpath; + clntpath[0] = '\0'; } /*