diff options
author | Christian Pointner <equinox@anytun.org> | 2009-02-26 14:58:12 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-02-26 14:58:12 +0000 |
commit | f72ce0dc37f0b66ba2651b2fe7d39603f089abed (patch) | |
tree | 2facf10a91a09dbe5af9282639bfdaa98f98130f /src/sysexec.h | |
parent | added -4 and -6 switches to udp socket (diff) |
moved from %m to %s and strerror
Diffstat (limited to 'src/sysexec.h')
-rw-r--r-- | src/sysexec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysexec.h b/src/sysexec.h index a50ec06..b724433 100644 --- a/src/sysexec.h +++ b/src/sysexec.h @@ -58,7 +58,7 @@ int exec_script(const char* script, const char* ifname) } execl("/bin/sh", "/bin/sh", script, ifname, NULL); // if execl return, an error occurred - log_printf(ERROR, "error on executing script: %m"); + log_printf(ERROR, "error on executing script: %s", strerror(errno)); return -1; } int status = 0; |