diff options
author | Thierry Vignaud <tvignaud@mandriva.com> | 2005-08-10 17:06:01 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-08-10 17:06:01 +0200 |
commit | a1ea706a1e3dfa1bb86ebcfcd0b819311526b2e2 (patch) | |
tree | 283a9d5463e1c8eed4c90e464e5206288cc89f46 /udevinfo.c | |
parent | 59d6bfefceac1a31b0408e60cd251b5035cf3b50 (diff) |
fix udevinfo output
Diffstat (limited to 'udevinfo.c')
-rw-r--r-- | udevinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udevinfo.c b/udevinfo.c index d2c3e1ab7f..58584d62f8 100644 --- a/udevinfo.c +++ b/udevinfo.c @@ -289,7 +289,7 @@ int main(int argc, char *argv[], char *envp[]) } retval = udev_db_get_device(&udev, pos); if (retval != 0) { - fprintf(stderr, "device not found in database\n"); + fprintf(stderr, "no record for '%s' in database\n", pos); goto exit; } goto print; @@ -329,7 +329,7 @@ print: goto exit; case QUERY_SYMLINK: if (list_empty(&udev.symlink_list)) - break; + goto exit; if (root) list_for_each_entry(name_loop, &udev.symlink_list, node) printf("%s/%s ", udev_root, name_loop->name); |