summaryrefslogtreecommitdiff
path: root/sys/dev/pv
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2017-08-10 18:01:00 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2017-08-10 18:01:00 +0000
commitb91f94f0252b03429559363468a066ba7138f22f (patch)
tree63330f662d9a5e64e3638c6a2eb986d7d91488bd /sys/dev/pv
parent14557822dffa4935735fe8b67bd8bea0a222369b (diff)
Add missing comma that caused a concatenated string. Fixes printing of
the device names of "9P Transport" and "mac80211 wlan" virtio devices. Coverity CID 1453254; Severity: Insignificant OK mikeb@
Diffstat (limited to 'sys/dev/pv')
-rw-r--r--sys/dev/pv/virtio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/virtio.c b/sys/dev/pv/virtio.c
index 3107ee8c9ac..82fd2939eb3 100644
--- a/sys/dev/pv/virtio.c
+++ b/sys/dev/pv/virtio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: virtio.c,v 1.10 2017/05/31 08:10:24 krw Exp $ */
+/* $OpenBSD: virtio.c,v 1.11 2017/08/10 18:00:59 reyk Exp $ */
/* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */
/*
@@ -66,7 +66,7 @@ static const char * const virtio_device_name[] = {
"IO Memory", /* 6 */
"Rpmsg", /* 7 */
"SCSI host", /* 8 */
- "9P Transport" /* 9 */
+ "9P Transport", /* 9 */
"mac80211 wlan" /* 10 */
};
#define NDEVNAMES (sizeof(virtio_device_name)/sizeof(char*))