diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-06-02 17:24:41 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-06-02 17:24:41 +0100 |
commit | 79e6a12b20e2a9c076309bd8a26e2943d6792e4a (patch) | |
tree | d982a0762c52edc82172e72bbff7aff3b44d4fcb /tools/libxl/libxl_exec.c | |
parent | 0f0230e4fbebe29b7958bd528f7413883ba943e5 (diff) | |
download | xen-79e6a12b20e2a9c076309bd8a26e2943d6792e4a.tar.gz xen-79e6a12b20e2a9c076309bd8a26e2943d6792e4a.tar.bz2 xen-79e6a12b20e2a9c076309bd8a26e2943d6792e4a.zip |
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@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_exec.c')
-rw-r--r-- | tools/libxl/libxl_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++) { |