diff options
author | Marco d'Itri <md@linux.it> | 2009-09-14 13:56:38 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-09-14 13:56:38 +0200 |
commit | bbfeee28fc00642a01bf3f9c24e6c0e942d4adf8 (patch) | |
tree | 3b558fbc339f76005eb3b6f8fb9184b35e7966c0 /udev/udevadm-trigger.c | |
parent | b6a2637524e4b94ba51abcf5ee42f3676c9755ed (diff) |
udevadm: print all messages to stderr with priority higher or equal than LOG_ERR
It is needed to prevent errors in udev from going unnoticed (e.g.
when udevd is not running).
Diffstat (limited to 'udev/udevadm-trigger.c')
-rw-r--r-- | udev/udevadm-trigger.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c index 8a626ec744..dbcaee3dbd 100644 --- a/udev/udevadm-trigger.c +++ b/udev/udevadm-trigger.c @@ -146,7 +146,6 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[]) } else if (strcmp(optarg, "failed") == 0) { device_type = TYPE_FAILED; } else { - fprintf(stderr, "unknown type --type=%s\n", optarg); err(udev, "unknown type --type=%s\n", optarg); rc = 2; goto exit; |