diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-27 03:07:24 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 03:07:24 +0100 |
commit | c2b4c0e68a374519e4817da9e1ae150af5b23ce4 (patch) | |
tree | caed11463e77ec263152f4472756a70f800a114d /src/basic | |
parent | a9067193dd883289570b05ff2c9f0c3def302a39 (diff) | |
parent | ce9d6bcf33865e8fd364083e6b653072a88594c0 (diff) |
Merge pull request #1688 from phomes/typo-fix
path-util: do not return NULL as int
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/path-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/path-util.c b/src/basic/path-util.c index 0b8cac8f3e..e25e50e78a 100644 --- a/src/basic/path-util.c +++ b/src/basic/path-util.c @@ -95,7 +95,7 @@ int path_split_and_make_absolute(const char *p, char ***ret) { l = strv_split(p, ":"); if (!l) - return NULL; + return -ENOMEM; r = path_strv_make_absolute_cwd(l); if (r < 0) { |