diff options
author | jkh <jkh@FreeBSD.org> | 1995-10-16 15:14:28 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-10-16 15:14:28 +0000 |
commit | 1c55fdbaae54fa424f0c2cd826657d24bab0cbab (patch) | |
tree | 50bc7f170b9457e6b406c14c9cae37eff14ef8e2 /usr.sbin/sysinstall/index.c | |
parent | d29267034077955b981a4e54f7059e4d8bb11b58 (diff) | |
download | FreeBSD-src-1c55fdbaae54fa424f0c2cd826657d24bab0cbab.zip FreeBSD-src-1c55fdbaae54fa424f0c2cd826657d24bab0cbab.tar.gz |
Fix many more bogons, add some stuff to make the docs folk happy.
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r-- | usr.sbin/sysinstall/index.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c index 47320444b..3965653 100644 --- a/usr.sbin/sysinstall/index.c +++ b/usr.sbin/sysinstall/index.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: index.c,v 1.8 1995/10/16 07:31:00 jkh Exp $ + * $Id: index.c,v 1.9 1995/10/16 09:25:13 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -458,7 +458,7 @@ is_selected_in(char *name, char *result) break; } else { - ret = !strncmp(name, result, cp - result); + ret = !strncmp(name, result, cp - result - 1); if (ret) break; } |