aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/imx25_ccm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/imx25_ccm.c')
-rw-r--r--hw/misc/imx25_ccm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/imx25_ccm.c b/hw/misc/imx25_ccm.c
index d888966..faa726a 100644
--- a/hw/misc/imx25_ccm.c
+++ b/hw/misc/imx25_ccm.c
@@ -91,7 +91,7 @@ static const char *imx25_ccm_reg_name(uint32_t reg)
case IMX25_CCM_LPIMR1_REG:
return "lpimr1";
default:
- sprintf(unknown, "[%u ?]", reg);
+ snprintf(unknown, sizeof(unknown), "[%u ?]", reg);
return unknown;
}
}