mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
fish: options: Fix optarg -> arg.
Don't read the global variable optarg. Read arg instead. (In all cases they are the same, so this bug made no difference).
This commit is contained in:
@@ -61,7 +61,7 @@ option_a (const char *arg, const char *format, struct drv **drvsp)
|
||||
|
||||
drv->type = drv_a;
|
||||
drv->nr_drives = -1;
|
||||
drv->a.filename = optarg;
|
||||
drv->a.filename = (char *) arg;
|
||||
drv->a.format = format;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user