summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-01-24 20:12:28 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-01-24 20:12:28 +0000
commit69f19935b93abcefb352c2df1a2abd25e9f832cb (patch)
tree14321161dfe2d47b295d612f13a515f6f04093a4 /usr.sbin
parent2164a1d04c66c45f9d8bbd3a258b6d1b8ac232aa (diff)
NULL-terminate the nlist
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/config/ukc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/config/ukc.h b/usr.sbin/config/ukc.h
index 58883b20f3a..0188a2d26f5 100644
--- a/usr.sbin/config/ukc.h
+++ b/usr.sbin/config/ukc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ukc.h,v 1.2 2000/01/08 23:23:37 d Exp $ */
+/* $OpenBSD: ukc.h,v 1.3 2001/01/24 20:12:27 art Exp $ */
/*
* Copyright (c) 1999 Mats O Jansson. All rights reserved.
@@ -66,6 +66,7 @@ struct nlist nl[] = {
{ "_userconf_histlen" },
{ "_userconf_history" },
{ "_tz" },
+ { NULL },
};
struct nlist knl[] = {
{ "_locnames" },
@@ -83,6 +84,7 @@ struct nlist knl[] = {
{ "_userconf_histlen" },
{ "_userconf_history" },
{ "_tz" },
+ { NULL },
};
int maxdev = 0;
int totdev = 0;