-/* $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>
/*
* Pack partitions above the resized partition, leaving unused
- * partions alone.
+ * partitions alone.
*/
prev = pp;
for (i = partno + 1; i < MAXPARTITIONS; i++) {
mpfree(char **mp)
{
int part;
-
+
if (mp == NULL)
return;
-
+
for (part = 0; part < MAXPARTITIONS; part++)
free(mp[part]);
-
+
free(mp);
}
if (*max == 0)
*max = *min;
free(buf);
- return (0);
+ return (0);
}
int