From 7c2678146e55baa9763c755e102e1f509ccb76da Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 1 Apr 1999 04:14:22 +0000 Subject: Use fstypenames, not fstypesnames since fstypesnames does not list strings for all types --- sbin/disklabel/editor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin') 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 @@ -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 @@ -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; } -- cgit v1.2.3