1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

getopt returns an int, not a char, so use the correct data type for

the return value. Fixes powerpc tinderbox.

MFC after:	2 days
This commit is contained in:
Scott Long 2013-12-30 16:49:31 +00:00
parent e0c758686c
commit 9ccde11826
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260087

View File

@ -420,7 +420,7 @@ getdevtree(int argc, char **argv, char *combinedopt)
int error = 0;
int skip_device = 0;
int busonly = 0;
char c;
int c;
while ((c = getopt(argc, argv, combinedopt)) != -1) {
switch(c) {