diff options
Diffstat (limited to 'mbbsd/osdep.c')
-rw-r--r-- | mbbsd/osdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/osdep.c b/mbbsd/osdep.c index 4872083e..f4a9bd85 100644 --- a/mbbsd/osdep.c +++ b/mbbsd/osdep.c @@ -613,7 +613,7 @@ cpuload(char *str) } if (str) { if (l[0] != -1) - snprintf(str, sizeof(str), " %.2f %.2f %.2f", l[0], l[1], l[2]); + sprintf(str, " %.2f %.2f %.2f", l[0], l[1], l[2]); else strcpy(str, " (unknown) "); } |