summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/normal/dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/dt.c b/src/ipcpd/normal/dt.c
index 53c7ed16..38a203cf 100644
--- a/src/ipcpd/normal/dt.c
+++ b/src/ipcpd/normal/dt.c
@@ -128,7 +128,7 @@ static int dt_stat_read(const char * path,
}
if (dt.stat[fd].addr == ipcpi.dt_addr)
- sprintf(addrstr, dt.comps[fd].name);
+ sprintf(addrstr, "%s", dt.comps[fd].name);
else
sprintf(addrstr, "%" PRIu64, dt.stat[fd].addr);