From 8984b8ccf6cfdc00d97df98870e1eeabbee0b8f2 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 5 Nov 1998 17:35:16 +0000 Subject: [PATCH] OK, trim the null off again. --- release/sysinstall/uc_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/sysinstall/uc_main.c b/release/sysinstall/uc_main.c index 102c766d389..27dd58c985b 100644 --- a/release/sysinstall/uc_main.c +++ b/release/sysinstall/uc_main.c @@ -24,7 +24,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * library functions for userconfig library * - * $Id: uc_main.c,v 1.23 1998/10/06 07:41:49 msmith Exp $ + * $Id: uc_main.c,v 1.24 1998/10/07 19:42:46 jkh Exp $ */ #include @@ -106,7 +106,7 @@ uc_open(char *name){ kern->nl = nl = (struct nlist *)malloc((size + 1) * sizeof(struct nlist)); bzero(nl, (size + 1) * sizeof(struct nlist)); - for (i = 0; i <= size; i++) { + for (i = 0; i < size; i++) { char *cp, name[255]; int c1; unsigned int uc1;