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:
parent
e0c758686c
commit
9ccde11826
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260087
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user