diff options
Diffstat (limited to 'dmesg.c')
-rw-r--r-- | dmesg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ int dmesg_main(int argc, char **argv) if (bufsize < 4096) bufsize = 4096; - buf = (char *) malloc(bufsize); + buf = (char *) xmalloc(bufsize); n = klogctl(cmd, buf, bufsize); if (n < 0) { goto klogctl_error; |