projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4445934
)
be more specific in -mem-path error messages
author
Michael Tokarev
<mjt@tls.msk.ru>
Sat, 27 Mar 2010 13:35:37 +0000
(16:35 +0300)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 27 Mar 2010 14:26:36 +0000
(15:26 +0100)
Signed-Off-By: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
exec.c
patch
|
blob
|
history
diff --git
a/exec.c
b/exec.c
index
14767b7
..
5dc98bd
100644
(file)
--- a/
exec.c
+++ b/
exec.c
@@
-2668,7
+2668,7
@@
static long gethugepagesize(const char *path)
} while (ret != 0 && errno == EINTR);
if (ret != 0) {
- perror(
"statfs"
);
+ perror(
path
);
return 0;
}
@@
-2708,7
+2708,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;
}