diff options
author | lloyd <[email protected]> | 2008-07-13 19:34:07 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-07-13 19:34:07 +0000 |
commit | 1bfd8453556cc510ae762c2c69dea0db086cb89d (patch) | |
tree | b6bcefad7907d16c69fe25171c60c70afa232c26 /modules | |
parent | 68e313b52cb90e36638e449e42e098af11ef9b31 (diff) |
Use NULL instead of 0 for execl terminator
Diffstat (limited to 'modules')
-rw-r--r-- | modules/es_unix/unix_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/es_unix/unix_cmd.cpp b/modules/es_unix/unix_cmd.cpp index 6fcfa0d40..32829b91b 100644 --- a/modules/es_unix/unix_cmd.cpp +++ b/modules/es_unix/unix_cmd.cpp @@ -41,7 +41,7 @@ void do_exec(const std::vector<std::string>& arg_list, { const std::string full_path = paths[j] + "/" + arg_list[0]; const char* fsname = full_path.c_str(); - ::execl(fsname, fsname, arg1, arg2, arg3, arg4, 0); + ::execl(fsname, fsname, arg1, arg2, arg3, arg4, NULL); } } |