summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-10-14 05:23:31 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-10-14 05:23:31 +0000
commite96232098e410233264e0a258d6ba91a0ac1f73d (patch)
tree3cd92c61b1c701f855acc4d5a004da1038b81dea
parent54282fb01c6dc2b0f6e8fc3529a7710d207c3cff (diff)
getopt() returns int not char. ok pvalchev@
-rw-r--r--sbin/growfs/growfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c
index 784d6832e02..228501f2f36 100644
--- a/sbin/growfs/growfs.c
+++ b/sbin/growfs/growfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: growfs.c,v 1.6 2003/08/25 23:28:15 tedu Exp $ */
+/* $OpenBSD: growfs.c,v 1.7 2003/10/14 05:23:30 drahn Exp $ */
/*
* Copyright (c) 2000 Christoph Herrmann, Thomas-Henning von Kamptz
* Copyright (c) 1980, 1989, 1993 The Regents of the University of California.
@@ -46,7 +46,7 @@ static const char copyright[] =
Copyright (c) 1980, 1989, 1993 The Regents of the University of California.\n\
All rights reserved.\n";
-static const char rcsid[] = "$OpenBSD: growfs.c,v 1.6 2003/08/25 23:28:15 tedu Exp $";
+static const char rcsid[] = "$OpenBSD: growfs.c,v 1.7 2003/10/14 05:23:30 drahn Exp $";
#endif /* not lint */
/* ********************************************************** INCLUDES ***** */
@@ -1849,7 +1849,7 @@ main(int argc, char **argv)
{
DBG_FUNC("main")
char *device, *special, *cp;
- char ch;
+ int ch;
unsigned int size = 0;
size_t len;
unsigned int Nflag = 0;