]> git.proxmox.com Git - mirror_qemu.git/blobdiff - trace/control.c
trace/control: Clean up global variable shadowing
[mirror_qemu.git] / trace / control.c
index 1a48a7e266dc1b0d2db9ce30d59de3699c8c2e58..ef107829ac00ebfb90c01b2677a27aae33c7e841 100644 (file)
@@ -285,10 +285,10 @@ bool trace_init_backends(void)
     return true;
 }
 
-void trace_opt_parse(const char *optarg)
+void trace_opt_parse(const char *optstr)
 {
     QemuOpts *opts = qemu_opts_parse_noisily(qemu_find_opts("trace"),
-                                             optarg, true);
+                                             optstr, true);
     if (!opts) {
         exit(1);
     }