1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

udevadm: log message if udevadm link is used

This commit is contained in:
Kay Sievers 2008-09-09 14:48:42 +02:00
parent 37372bbc38
commit bd770e0183
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -167,7 +167,7 @@ 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>', "
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);