summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2017-08-10 18:00:59 +0000
committerreyk <reyk@openbsd.org>2017-08-10 18:00:59 +0000
commit79c8d24a9118afc1440caeb898ae41c482d28f95 (patch)
treed901ac91005fc74706bea4ff7e322cde937f1e46
parentdocument use of del as short form for delete, from jca (diff)
downloadwireguard-openbsd-79c8d24a9118afc1440caeb898ae41c482d28f95.tar.xz
wireguard-openbsd-79c8d24a9118afc1440caeb898ae41c482d28f95.zip
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@
-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*))