From 5f1d6a94ca9b9d4235c2ec8d8f3236f3b8b5fee1 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Fri, 4 Jan 2013 19:11:01 -0500 Subject: The only functional changes in systemd-udev-196 As far as I can tell these are the only functional changes between the current eudev codebase and the codebase of systemd-196, in relation to udev hwdb code. There are some code style differences, and a number of error-trap-and-log lines that are not present, but that's about it Signed-off-by: Anthony G. Basile --- src/udev/udev-builtin-hwdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/udev/udev-builtin-hwdb.c') diff --git a/src/udev/udev-builtin-hwdb.c b/src/udev/udev-builtin-hwdb.c index 3004af0e1c..0b35d799fe 100644 --- a/src/udev/udev-builtin-hwdb.c +++ b/src/udev/udev-builtin-hwdb.c @@ -34,7 +34,7 @@ int udev_builtin_hwdb_lookup(struct udev_device *dev, const char *modalias, bool int n = 0; if (!hwdb) - return EXIT_FAILURE; + return -ENOENT; udev_list_entry_foreach(entry, udev_hwdb_get_properties_list_entry(hwdb, modalias, 0)) { if (udev_builtin_add_property(dev, test, -- cgit v1.2.3-54-g00ecf