summaryrefslogtreecommitdiffstats
path: root/sys/dev/vnd.c
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2007-09-11 13:39:33 +0000
committergilles <gilles@openbsd.org>2007-09-11 13:39:33 +0000
commit0b149fa0fbcf646d5093849f9dcec55b341ce482 (patch)
treef95a4e02d452e48fabdbed1680ae9c1f6cc505b9 /sys/dev/vnd.c
parentAdd __bounded__ attributes to prototypes. (diff)
downloadwireguard-openbsd-0b149fa0fbcf646d5093849f9dcec55b341ce482.tar.xz
wireguard-openbsd-0b149fa0fbcf646d5093849f9dcec55b341ce482.zip
KNF
prompted and "much better" by marco@, ok pyr@
Diffstat (limited to 'sys/dev/vnd.c')
-rw-r--r--sys/dev/vnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index 4373b0eee51..e6fbb70de64 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnd.c,v 1.80 2007/09/08 17:59:23 gilles Exp $ */
+/* $OpenBSD: vnd.c,v 1.81 2007/09/11 13:39:33 gilles Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
@@ -198,7 +198,7 @@ vndattach(int num)
if (num <= 0)
return;
size = num * sizeof(struct vnd_softc);
- mem = malloc(size, M_DEVBUF, M_NOWAIT|M_ZERO);
+ mem = malloc(size, M_DEVBUF, M_NOWAIT | M_ZERO);
if (mem == NULL) {
printf("WARNING: no memory for vnode disks\n");
return;