summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-09-09 02:22:28 +0000
committermsmith <msmith@FreeBSD.org>1998-09-09 02:22:28 +0000
commit565226fa1c88c7e52300699065eab5a5a96699c6 (patch)
treef4a3bbba3465b26ddbd8606debc8a6c847a2d406 /usr.bin/vmstat
parentb2baba7514e4d884db6cf884d0ce830e8b9ee2ce (diff)
downloadFreeBSD-src-565226fa1c88c7e52300699065eab5a5a96699c6.zip
FreeBSD-src-565226fa1c88c7e52300699065eab5a5a96699c6.tar.gz
Terminate the defdrives array correctly. (Shame, Rod!)
Submitted by: Scott Michel <scottm@cs.ucla.edu>
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r--usr.bin/vmstat/names.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vmstat/names.c b/usr.bin/vmstat/names.c
index 90c95f9..b7d3a3a9 100644
--- a/usr.bin/vmstat/names.c
+++ b/usr.bin/vmstat/names.c
@@ -44,7 +44,7 @@ char *defdrives[] = { 0 };
*/
#include <i386/isa/isa_device.h>
-char *defdrives[] = { "wd0", "wd1", "sd0", "sd1" };
+char *defdrives[] = { "wd0", "wd1", "sd0", "sd1", 0 };
int
read_names()
OpenPOWER on IntegriCloud