mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
oops. Those are char **'s not char *'s
This commit is contained in:
parent
cbac299f5b
commit
f60f128448
@ -59,7 +59,7 @@ static int parse_argv(int argc, char **argv, char **dso_name_arg,
|
||||
while ((c = getopt(argc, argv, options)) != -1) {
|
||||
switch (c) {
|
||||
case 'd':
|
||||
dso_name_arg = optarg;
|
||||
*dso_name_arg = optarg;
|
||||
break;
|
||||
case 'h':
|
||||
print_usage(argv[0]);
|
||||
@ -87,7 +87,7 @@ static int parse_argv(int argc, char **argv, char **dso_name_arg,
|
||||
return 0;
|
||||
}
|
||||
} else
|
||||
device_arg = argv[optind];
|
||||
*device_arg = argv[optind];
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user