summaryrefslogtreecommitdiff
path: root/src/sysexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysexec.h')
-rw-r--r--src/sysexec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysexec.h b/src/sysexec.h
index 07cac2c..a50ec06 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(ERR, "error on executing script: %m");
+ log_printf(ERROR, "error on executing script: %m");
return -1;
}
int status = 0;
@@ -68,7 +68,7 @@ int exec_script(const char* script, const char* ifname)
else if(WIFSIGNALED(status))
log_printf(NOTICE, "script '%s' terminated after signal %d", script, WTERMSIG(status));
else
- log_printf(ERR, "executing script: unkown error");
+ log_printf(ERROR, "executing script: unkown error");
return status;