diff options
Diffstat (limited to 'src/path')
-rw-r--r-- | src/path/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path/path.c b/src/path/path.c index 2ac5f002a3..7b630a5714 100644 --- a/src/path/path.c +++ b/src/path/path.c @@ -100,8 +100,8 @@ static int print_home(const char *n) { } } - log_error("Path %s not known.", n); - return -EOPNOTSUPP; + return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), + "Path %s not known.", n); } static int help(void) { |