diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-09 14:48:42 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-09 14:48:42 +0200 |
commit | bd770e018301edd34c53d276872865ca13e824fa (patch) | |
tree | 15eff7271f7b414ae5449866e01bffc527fd6e0c /udev | |
parent | 37372bbc38d8542f482d90b26c90714429584421 (diff) |
udevadm: log message if udevadm link is used
Diffstat (limited to 'udev')
-rw-r--r-- | udev/udevadm-control.c | 4 | ||||
-rw-r--r-- | udev/udevadm.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c index 8e319be946..c710811ed4 100644 --- a/udev/udevadm-control.c +++ b/udev/udevadm-control.c @@ -89,10 +89,10 @@ int udevadm_control(struct udev *udev, int argc, char *argv[]) break; if (option > 255) { - info(udev, "udevadm control expects commands without underscore, " - "this will stop working in a future release\n"); fprintf(stderr, "udevadm control expects commands without underscore, " "this will stop working in a future release\n"); + err(udev, "udevadm control expects commands without underscore, " + "this will stop working in a future release\n"); } switch (option) { diff --git a/udev/udevadm.c b/udev/udevadm.c index bfa704ef21..a4bcba603f 100644 --- a/udev/udevadm.c +++ b/udev/udevadm.c @@ -167,8 +167,8 @@ int main(int argc, char *argv[]) prog[len] = '\0'; fprintf(stderr, "the program '%s' called '%s', it should use 'udevadm %s <options>', " "this will stop working in a future release\n", prog, argv[0], command); - info(udev, "the program '%s' called '%s', it should use 'udevadm %s <options>', " - "this will stop working in a future release\n", prog, argv[0], command); + err(udev, "the program '%s' called '%s', it should use 'udevadm %s <options>', " + "this will stop working in a future release\n", prog, argv[0], command); } rc = run_command(udev, &cmds[i], argc, argv); goto out; |