diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-02-23 21:39:59 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-02-23 21:39:59 +0000 |
commit | 42062fa7e00cf3cac8b43034c4ddd41d12409946 (patch) | |
tree | 71229456d6b7c51d9bcc1d068146e835bf0dc126 /sbin/disklabel | |
parent | f37869a8faef77065de89dd178068b635b736eed (diff) |
'partions' -> 'partitions', nuke some erroneous whitespace.
ok otto@
Diffstat (limited to 'sbin/disklabel')
-rw-r--r-- | sbin/disklabel/editor.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index f2dbef51418..0d449d1d22d 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.310 2017/12/18 09:09:53 ajacoutot Exp $ */ +/* $OpenBSD: editor.c,v 1.311 2018/02/23 21:39:58 krw Exp $ */ /* * Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com> @@ -760,7 +760,7 @@ editor_resize(struct disklabel *lp, char *p) /* * Pack partitions above the resized partition, leaving unused - * partions alone. + * partitions alone. */ prev = pp; for (i = partno + 1; i < MAXPARTITIONS; i++) { @@ -1868,13 +1868,13 @@ void mpfree(char **mp) { int part; - + if (mp == NULL) return; - + for (part = 0; part < MAXPARTITIONS; part++) free(mp[part]); - + free(mp); } @@ -2504,7 +2504,7 @@ parse_sizerange(char *buf, u_int64_t *min, u_int64_t *max) if (*max == 0) *max = *min; free(buf); - return (0); + return (0); } int |