summaryrefslogtreecommitdiff
path: root/src/cgls
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgls')
-rw-r--r--src/cgls/cgls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index 27420f4f96..f400bccc0a 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -186,7 +186,7 @@ int main(int argc, char *argv[]) {
p = get_current_dir_name();
if (!p) {
- log_error("Cannot determine current working directory: %m");
+ log_error_errno(errno, "Cannot determine current working directory: %m");
goto finish;
}