summaryrefslogtreecommitdiff
path: root/sys/dev/ksyms.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2007-09-11 13:39:35 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2007-09-11 13:39:35 +0000
commitca08fa30b3ab02619e3cdee1f4ffd7fae6833fd1 (patch)
tree51e8b8caf8623fba8a3acc9ce731036f9376a41c /sys/dev/ksyms.c
parent023f148f597a0a1455b3cd62cf30553f5dbc28b5 (diff)
KNF
prompted and "much better" by marco@, ok pyr@
Diffstat (limited to 'sys/dev/ksyms.c')
-rw-r--r--sys/dev/ksyms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ksyms.c b/sys/dev/ksyms.c
index 8f80509b5bd..a377dbad4de 100644
--- a/sys/dev/ksyms.c
+++ b/sys/dev/ksyms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ksyms.c,v 1.18 2007/09/08 17:59:23 gilles Exp $ */
+/* $OpenBSD: ksyms.c,v 1.19 2007/09/11 13:39:33 gilles Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>
@@ -132,7 +132,7 @@ ksymsattach(num)
struct exec *k1;
ksym_head_size = __LDPGSZ;
- ksym_head = malloc(ksym_head_size, M_DEVBUF, M_NOWAIT|M_ZERO);
+ ksym_head = malloc(ksym_head_size, M_DEVBUF, M_NOWAIT | M_ZERO);
if (ksym_head == NULL) {
printf("failed to allocate memory for /dev/ksyms\n");
return;