]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/path-util.c
path-util: do not return NULL as int 1688/head
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Mon, 26 Oct 2015 21:26:49 +0000 (22:26 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Mon, 26 Oct 2015 21:31:37 +0000 (22:31 +0100)
commitce9d6bcf33865e8fd364083e6b653072a88594c0
treecaed11463e77ec263152f4472756a70f800a114d
parenta9067193dd883289570b05ff2c9f0c3def302a39
path-util: do not return NULL as int

strv_split will only return NULL on oom so we should return -ENOMEM
instead.

Looks like an oversight from the changes in 0f474365
src/basic/path-util.c