diff options
author | jkh <jkh@FreeBSD.org> | 1998-11-05 17:35:16 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-11-05 17:35:16 +0000 |
commit | 58045d2d2c66cc826418c2c40735d7130c308a14 (patch) | |
tree | ee5a8043412e08d943c19e86ff3b3dc79c99a407 /release | |
parent | c3b12c21b0ae876e9d9c24a983b4e8a25609ccbd (diff) | |
download | FreeBSD-src-58045d2d2c66cc826418c2c40735d7130c308a14.zip FreeBSD-src-58045d2d2c66cc826418c2c40735d7130c308a14.tar.gz |
OK, trim the null off again.
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/uc_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/uc_main.c b/release/sysinstall/uc_main.c index 102c766..27dd58c 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 <sys/types.h> @@ -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; |