summaryrefslogtreecommitdiff
path: root/usr.bin/info_mkdb/getinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/info_mkdb/getinfo.c')
-rw-r--r--usr.bin/info_mkdb/getinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/info_mkdb/getinfo.c b/usr.bin/info_mkdb/getinfo.c
index 8e29baa792b..e9c3420e338 100644
--- a/usr.bin/info_mkdb/getinfo.c
+++ b/usr.bin/info_mkdb/getinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getinfo.c,v 1.1 1996/07/22 03:16:30 tholo Exp $ */
+/* $OpenBSD: getinfo.c,v 1.2 1996/07/22 04:03:44 tholo Exp $ */
/*-
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,7 +31,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: getinfo.c,v 1.1 1996/07/22 03:16:30 tholo Exp $";
+static char rcsid[] = "$OpenBSD: getinfo.c,v 1.2 1996/07/22 04:03:44 tholo Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -353,7 +353,7 @@ getent(cap, len, db_array, fd, name, depth)
*(s - 1) = '\0';
break;
}
- tcstart = tc - 3;
+ tcstart = tc - 4;
tclen = s - tcstart;
tcend = s;