diff options
author | 2009-04-29 22:57:05 +0000 | |
---|---|---|
committer | 2009-04-29 22:57:05 +0000 | |
commit | 8a862940c79f2ecf24640e9a26fb71a39527357a (patch) | |
tree | 33039f3b6ee72a1d9d8109070950c9699ae7896d /sbin/disklabel/editor.c | |
parent | only encrypt passwords if they are set (diff) | |
download | wireguard-openbsd-8a862940c79f2ecf24640e9a26fb71a39527357a.tar.xz wireguard-openbsd-8a862940c79f2ecf24640e9a26fb71a39527357a.zip |
KNF
Diffstat (limited to 'sbin/disklabel/editor.c')
-rw-r--r-- | sbin/disklabel/editor.c | 9 |
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) }, |