summaryrefslogtreecommitdiffstats
path: root/sbin/disklabel/editor.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-04-29 22:57:05 +0000
committerderaadt <deraadt@openbsd.org>2009-04-29 22:57:05 +0000
commit8a862940c79f2ecf24640e9a26fb71a39527357a (patch)
tree33039f3b6ee72a1d9d8109070950c9699ae7896d /sbin/disklabel/editor.c
parentonly encrypt passwords if they are set (diff)
downloadwireguard-openbsd-8a862940c79f2ecf24640e9a26fb71a39527357a.tar.xz
wireguard-openbsd-8a862940c79f2ecf24640e9a26fb71a39527357a.zip
KNF
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r--sbin/disklabel/editor.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index b374b1f10d3..cd878af13e2 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.199 2009/04/29 15:11:20 otto Exp $ */
+/* $OpenBSD: editor.c,v 1.200 2009/04/29 22:57:05 deraadt Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -17,7 +17,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: editor.c,v 1.199 2009/04/29 15:11:20 otto Exp $";
+static char rcsid[] = "$OpenBSD: editor.c,v 1.200 2009/04/29 22:57:05 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -104,7 +104,10 @@ const struct space_allocation alloc_stupid[] = {
{ MEG(1), MEG(2048), 100, "/" }
};
-const struct { const struct space_allocation *table; int sz; } alloc_table[] = {
+const struct {
+ const struct space_allocation *table;
+ int sz;
+} alloc_table[] = {
{ alloc_big, nitems(alloc_big) },
{ alloc_medium, nitems(alloc_medium) },
{ alloc_small, nitems(alloc_small) },