1
0
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:
Benjamin Marzinski 2005-05-04 19:24:03 +00:00
parent cbac299f5b
commit f60f128448

View File

@ -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;
}