Message ID | 4BAE09A9.8020505@msgid.tls.msk.ru |
---|---|
State | New |
Headers | show |
diff --git a/exec.c b/exec.c index fcffb0f..90032a5 100644 --- a/exec.c +++ b/exec.c @@ -2438,7 +2438,7 @@ static long gethugepagesize(const char *path) } while (ret != 0 && errno == EINTR); if (ret != 0) { - perror("statfs"); + perror(path); return 0; } @@ -2483,7 +2483,7 @@ static void *file_ram_alloc(ram_addr_t memory, const char *path) fd = mkstemp(filename); if (fd < 0) { - perror("mkstemp"); + perror("unable to create backing store for hugepages"); free(filename); return NULL; }