summaryrefslogtreecommitdiff
path: root/sbin/fsck_ext2fs/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_ext2fs/setup.c')
-rw-r--r--sbin/fsck_ext2fs/setup.c22
1 files changed, 5 insertions, 17 deletions
diff --git a/sbin/fsck_ext2fs/setup.c b/sbin/fsck_ext2fs/setup.c
index e13d8c0055c..13f82b16d1e 100644
--- a/sbin/fsck_ext2fs/setup.c
+++ b/sbin/fsck_ext2fs/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.6 2000/04/26 23:26:06 jasoni Exp $ */
+/* $OpenBSD: setup.c,v 1.7 2001/09/18 17:43:15 art Exp $ */
/* $NetBSD: setup.c,v 1.1 1997/06/11 11:22:01 bouyer Exp $ */
/*
@@ -35,18 +35,6 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)setup.c 8.5 (Berkeley) 11/23/94";
-#else
-#if 0
-static char rcsid[] = "$NetBSD: setup.c,v 1.1 1997/06/11 11:22:01 bouyer Exp $";
-#else
-static char rcsid[] = "$OpenBSD: setup.c,v 1.6 2000/04/26 23:26:06 jasoni Exp $";
-#endif
-#endif
-#endif /* not lint */
-
#define DKTYPENAMES
#include <sys/param.h>
#include <sys/time.h>
@@ -439,11 +427,11 @@ int
calcsb(dev, devfd, fs)
char *dev;
int devfd;
- register struct m_ext2fs *fs;
+ struct m_ext2fs *fs;
{
- register struct disklabel *lp;
- register struct partition *pp;
- register char *cp;
+ struct disklabel *lp;
+ struct partition *pp;
+ char *cp;
cp = strchr(dev, '\0') - 1;
if ((cp == (char *)-1 || (*cp < 'a' || *cp > 'h')) && !isdigit(*cp)) {