diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-04-01 04:14:22 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-04-01 04:14:22 +0000 |
commit | 7c2678146e55baa9763c755e102e1f509ccb76da (patch) | |
tree | ed2248ecbe96958953f182888ca39c80f867c5c4 /sbin | |
parent | fed2cc1a89d19593f08dbddfb19ed7a5f1670434 (diff) |
Use fstypenames, not fstypesnames since fstypesnames does not list strings for all types
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/disklabel/editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c index e2e9fafe823..ddf5250b16d 100644 --- a/sbin/disklabel/editor.c +++ b/sbin/disklabel/editor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: editor.c,v 1.57 1999/03/23 05:18:50 millert Exp $ */ +/* $OpenBSD: editor.c,v 1.58 1999/04/01 04:14:21 millert Exp $ */ /* * Copyright (c) 1997-1999 Todd C. Miller <Todd.Miller@courtesan.com> @@ -28,7 +28,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: editor.c,v 1.57 1999/03/23 05:18:50 millert Exp $"; +static char rcsid[] = "$OpenBSD: editor.c,v 1.58 1999/04/01 04:14:21 millert Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -631,7 +631,7 @@ editor_name(lp, mp, p) if (pp->p_fstype == FS_UNUSED || pp->p_fstype == FS_SWAP || pp->p_fstype == FS_BOOT || pp->p_fstype == FS_OTHER) { fprintf(stderr, "You cannot name a filesystem of type %s.\n", - fstypesnames[lp->d_partitions[partno].p_fstype]); + fstypenames[lp->d_partitions[partno].p_fstype]); return; } |