libxl: remove stray "atoi" in debug code.
authorIan Campbell <ian.campbell@citrix.com>
Thu, 2 Jun 2011 16:24:41 +0000 (17:24 +0100)
committerIan 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

index 87715c65014ee726715e833a41d5d7bea251bcc5..4a98f733a6355f7f6c8d15ebc5e8ebd60e177ef2 100644 (file)
@@ -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++) {