projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3f6aa2
)
hwdb: return false if no property is found
author
Kay Sievers
<kay@vrfy.org>
Tue, 9 Jul 2013 13:47:11 +0000
(15:47 +0200)
committer
Kay Sievers
<kay@vrfy.org>
Tue, 9 Jul 2013 13:48:36 +0000
(15:48 +0200)
src/udev/udev-builtin-hwdb.c
patch
|
blob
|
history
diff --git
a/src/udev/udev-builtin-hwdb.c
b/src/udev/udev-builtin-hwdb.c
index
314587f
..
f1c0ca9
100644
(file)
--- a/
src/udev/udev-builtin-hwdb.c
+++ b/
src/udev/udev-builtin-hwdb.c
@@
-178,9
+178,9
@@
static int builtin_hwdb(struct udev_device *dev, int argc, char *argv[], bool te
} else
srcdev = dev;
- if (udev_builtin_hwdb_search(dev, srcdev, subsystem, prefix, filter, test)
<
0)
- return EXIT_
FAILURE
;
- return EXIT_
SUCCESS
;
+ if (udev_builtin_hwdb_search(dev, srcdev, subsystem, prefix, filter, test)
>
0)
+ return EXIT_
SUCCESS
;
+ return EXIT_
FAILURE
;
}
/* called at udev startup and reload */