tools: list-quirks: make the output easier to parse

Print the "has no quirks" to stderr to keep stdout tidy.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-06-19 16:35:44 +10:00
parent 39cc6d054a
commit efe954aea8

View file

@ -120,7 +120,7 @@ list_device_quirks(struct quirks_context *ctx, struct udev_device *device)
quirks = quirks_fetch_for_device(ctx, device);
if (!quirks) {
printf("Device has no quirks defined\n");
fprintf(stderr, "Device has no quirks defined\n");
return;
}