summaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-06-28 20:57:09 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-06-28 20:57:09 +0200
commit1dfdcaa83f9ce34aded8bc0669e81753d94f1b7d (patch)
treefd98dca8e6ca1db2c3201e8efb3e14731a24a2d3 /bsd-user
parent3ab20e206ce74299e836bfec5ec27b7f261826be (diff)
downloadqemu-1dfdcaa83f9ce34aded8bc0669e81753d94f1b7d.tar.gz
qemu-1dfdcaa83f9ce34aded8bc0669e81753d94f1b7d.tar.bz2
qemu-1dfdcaa83f9ce34aded8bc0669e81753d94f1b7d.zip
user: Fix -d debug logging for usermode emulation
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'bsd-user')
-rw-r--r--bsd-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c
index 5f790b255a..6018a419ed 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -866,7 +866,7 @@ int main(int argc, char **argv)
int mask;
const CPULogItem *item;
- mask = cpu_str_to_log_mask(r);
+ mask = cpu_str_to_log_mask(log_mask);
if (!mask) {
printf("Log items (comma separated):\n");
for (item = cpu_log_items; item->mask != 0; item++) {