Commit Diff
Diff:
18223c2807bc7cc41327d84c187934fd2730d277
f1beb69a5a32a1c46d84321029896360dbc8a0b0
Commit:
f1beb69a5a32a1c46d84321029896360dbc8a0b0
Tree:
4bb07d5b334e95cc435278602cd545ff713fcf03
Author:
Omar Polo <op@omarpolo.com>
Date:
Mon Jun 13 18:03:38 2022 UTC
Message:
use log_warn to report the failure of canonpath
commit - 18223c2807bc7cc41327d84c187934fd2730d277
commit + f1beb69a5a32a1c46d84321029896360dbc8a0b0
blob - d72565ca77eed2dc3b62cb83bd3cdf0883b70e37
blob + 03560a00c389f5fc885cbf19f5057827019f020a
--- ctl.c
+++ ctl.c
@@ -205,7 +205,7 @@ load_files(struct parse_result *res, int *ret)
memset(path, 0, sizeof(path));
if (canonpath(file, path, sizeof(path)) == -1) {
- log_warnx("canonpath %s", file);
+ log_warn("canonpath %s", file);
continue;
}
Omar Polo