|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] libxl: remove stray "atoi" in debug code.
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1307031881 -3600
# Node ID 0ad8a538b3d8a896a6222106e927eec9085444ad
# Parent 4804af7048cafecfc014c30cfea374eb0a0360e8
libxl: remove stray "atoi" in debug code.
I switched from atoi to strtol but failed to actually remove it...
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
diff -r 4804af7048ca -r 0ad8a538b3d8 tools/libxl/libxl_exec.c
--- a/tools/libxl/libxl_exec.c Thu Jun 02 15:01:04 2011 +0100
+++ b/tools/libxl/libxl_exec.c Thu Jun 02 17:24:41 2011 +0100
@@ -45,7 +45,7 @@
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++) {
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] libxl: remove stray "atoi" in debug code.,
Xen patchbot-unstable <=
|
|
|
|
|