From c7e00dc5eeb6d84eabeaf6f8883fd3af8ee30a6e Mon Sep 17 00:00:00 2001 From: krw Date: Fri, 23 Feb 2018 21:39:58 +0000 Subject: [PATCH] 'partions' -> 'partitions', nuke some erroneous whitespace. ok otto@ --- sbin/disklabel/editor.c | 12 ++++++------ 1 file 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 @@ -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 -- 2.20.1