summaryrefslogtreecommitdiff
path: root/extras/usb_id/usb_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'extras/usb_id/usb_id.c')
-rw-r--r--extras/usb_id/usb_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c
index 59cdd40b31..22f075b5d9 100644
--- a/extras/usb_id/usb_id.c
+++ b/extras/usb_id/usb_id.c
@@ -368,7 +368,7 @@ int main(int argc, char **argv)
{}
};
struct udev *udev;
- struct udev_device *dev;
+ struct udev_device *dev = NULL;
char syspath[UTIL_PATH_SIZE];
const char *devpath;
static int export;