diff options
-rw-r--r-- | commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -193,7 +193,7 @@ void uqmi_add_command(char *arg, int cmd) cmds = realloc(cmds, n_cmds * sizeof(*cmds)); cmds[idx].handler = &uqmi_cmd_handler[cmd]; - cmds[idx].arg = optarg; + cmds[idx].arg = arg; } static void uqmi_print_result(struct blob_attr *data) |