projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f0230e
)
libxl: remove stray "atoi" in debug code.
author
Ian Campbell
<ian.campbell@citrix.com>
Thu, 2 Jun 2011 16:24:41 +0000
(17:24 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Thu, 2 Jun 2011 16:24:41 +0000
(17:24 +0100)
I switched from atoi to strtol but failed to actually remove it...
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_exec.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_exec.c
b/tools/libxl/libxl_exec.c
index 87715c65014ee726715e833a41d5d7bea251bcc5..4a98f733a6355f7f6c8d15ebc5e8ebd60e177ef2 100644
(file)
--- a/
tools/libxl/libxl_exec.c
+++ b/
tools/libxl/libxl_exec.c
@@
-45,7
+45,7
@@
static void check_open_fds(const char *what)
env_debug = getenv("_LIBXL_DEBUG_EXEC_FDS");
if (!env_debug) return;
- debug = strtol(env_debug, (char **) NULL, 10);
atoi(env_debug);
+ debug = strtol(env_debug, (char **) NULL, 10);
if (debug <= 0) return;
for (i = 4; i < 256; i++) {