summaryrefslogtreecommitdiff
path: root/usr.sbin/usbdevs
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-12-22 08:36:41 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-12-22 08:36:41 +0000
commitd3f78ca672a98c07fa3ebf3950c9157f067f125f (patch)
tree24b9423098f0fa7d4dcecd02a143756d0a3dbf84 /usr.sbin/usbdevs
parent2600030a25344c3f8cdf539cbf0b6fcac9cf1d8b (diff)
Initialize a char* to NULL rather than 0.
Diffstat (limited to 'usr.sbin/usbdevs')
-rw-r--r--usr.sbin/usbdevs/usbdevs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/usbdevs/usbdevs.c b/usr.sbin/usbdevs/usbdevs.c
index 7962dc22e5f..f328d24c100 100644
--- a/usr.sbin/usbdevs/usbdevs.c
+++ b/usr.sbin/usbdevs/usbdevs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdevs.c,v 1.24 2015/03/31 13:38:27 mpi Exp $ */
+/* $OpenBSD: usbdevs.c,v 1.25 2015/12/22 08:36:40 mmcc Exp $ */
/* $NetBSD: usbdevs.c,v 1.19 2002/02/21 00:34:31 christos Exp $ */
/*
@@ -182,7 +182,7 @@ main(int argc, char **argv)
{
int ch, i, f;
char buf[50];
- char *dev = 0;
+ char *dev = NULL;
const char *errstr;
int addr = 0;
int ncont;