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-settle.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-settle.c')
-rw-r--r-- | udev/udevadm-settle.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/udev/udevadm-settle.c b/udev/udevadm-settle.c index 124c59698c..5030f18602 100644 --- a/udev/udevadm-settle.c +++ b/udev/udevadm-settle.c @@ -140,14 +140,12 @@ int udevadm_settle(struct udev *udev, int argc, char *argv[]) if (start > end) { err(udev, "seq-start larger than seq-end, ignoring\n"); - fprintf(stderr, "seq-start larger than seq-end, ignoring\n"); start = 0; end = 0; } if (start > kernel_seq || end > kernel_seq) { err(udev, "seq-start or seq-end larger than current kernel value, ignoring\n"); - fprintf(stderr, "seq-start or seq-end larger than current kernel value, ignoring\n"); start = 0; end = 0; } @@ -155,7 +153,6 @@ int udevadm_settle(struct udev *udev, int argc, char *argv[]) } else { if (end > 0) { err(udev, "seq-end needs seq-start parameter, ignoring\n"); - fprintf(stderr, "seq-end needs seq-start parameter, ignoring\n"); end = 0; } } |