summary refs log tree commit diff stats
path: root/hw/misc/imx6_src.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/imx6_src.c')
-rw-r--r--hw/misc/imx6_src.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/imx6_src.c b/hw/misc/imx6_src.c
index dd99cc7acf..79f4375911 100644
--- a/hw/misc/imx6_src.c
+++ b/hw/misc/imx6_src.c
@@ -68,7 +68,7 @@ static const char *imx6_src_reg_name(uint32_t reg)
     case SRC_GPR10:
         return "SRC_GPR10";
     default:
-        sprintf(unknown, "%d ?", reg);
+        sprintf(unknown, "%u ?", reg);
         return unknown;
     }
 }