diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-11-30 21:59:40 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-11-30 21:59:40 +0100 |
commit | a051da35ce96923e31a532c86a530bfd40d5dc76 (patch) | |
tree | 3f80cc4160297dbd9a410aa1d40e7420ab0b126c | |
parent | e5f476db05ed520e6454557eaba7dc32c5d5d3a4 (diff) |
sysfs-show.c: return negative error
introduced in 1ca208fb4f93e5869704af1812cbff7130a2fc03
-rw-r--r-- | src/login/sysfs-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/sysfs-show.c b/src/login/sysfs-show.c index 7c1adfaaca..f7d11ddc4c 100644 --- a/src/login/sysfs-show.c +++ b/src/login/sysfs-show.c @@ -164,7 +164,7 @@ int show_sysfs(const char *seat, const char *prefix, unsigned n_columns) { e = udev_enumerate_new(udev); if (!e) - return ENOMEM; + return -ENOMEM; if (!streq(seat, "seat0")) r = udev_enumerate_add_match_tag(e, seat); |