diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-09-23 02:39:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-09-23 16:28:27 +0200 |
commit | 3e085b6c59257ca57534afc5044256f2102f9c28 (patch) | |
tree | cde9ec14fdd893c6fc00d8e70cabffb04a77cb27 /src/sysfs-show.c | |
parent | de3756ab9916551f3f4f1f360aee59aeed238b5b (diff) |
llvm-analyze: change a few things to make llvm-analyze show fewer false positives
Diffstat (limited to 'src/sysfs-show.c')
-rw-r--r-- | src/sysfs-show.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sysfs-show.c b/src/sysfs-show.c index ab866a4707..b8b356d77b 100644 --- a/src/sysfs-show.c +++ b/src/sysfs-show.c @@ -165,6 +165,9 @@ int show_sysfs(const char *seat, const char *prefix, unsigned n_columns) { else r = udev_enumerate_add_match_tag(e, "seat"); + if (r < 0) + goto finish; + r = udev_enumerate_scan_devices(e); if (r < 0) goto finish; |