From: Ian Campbell Date: Thu, 2 Jun 2011 16:24:41 +0000 (+0100) Subject: libxl: remove stray "atoi" in debug code. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~10224^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=79e6a12b20e2a9c076309bd8a26e2943d6792e4a;p=xen.git libxl: remove stray "atoi" in debug code. I switched from atoi to strtol but failed to actually remove it... Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Jackson --- diff --git a/tools/libxl/libxl_exec.c b/tools/libxl/libxl_exec.c index 87715c6501..4a98f733a6 100644 --- 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++) {