summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2003-10-14 05:23:30 +0000
committerdrahn <drahn@openbsd.org>2003-10-14 05:23:30 +0000
commit9bf54e5e1fafb1d9ab79725f2380fbaa1490c945 (patch)
tree4711a491a6c8eb3b3d68fc2b73b4b6574604ffd1
parentAdd htole and bus_dmamap_sync code. These allow if_vr to work on powerpc. (diff)
downloadwireguard-openbsd-9bf54e5e1fafb1d9ab79725f2380fbaa1490c945.tar.xz
wireguard-openbsd-9bf54e5e1fafb1d9ab79725f2380fbaa1490c945.zip
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;