break;
if (option > 255) {
- 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");
}
break;
case 'p':
if (strchr(optarg, '=') == NULL) {
- fprintf(stderr, "expect <KEY>=<valaue> instead of '%s'\n", optarg);
+ fprintf(stderr, "expect <KEY>=<value> instead of '%s'\n", optarg);
goto exit;
}
udev_ctrl_send_set_env(uctrl, optarg);
if (argv[optind] != NULL) {
const char *arg = argv[optind];
- fprintf(stderr, "udevadm control commands requires the --<command> format, "
- "this will stop working in a future release\n");
err(udev, "udevadm control commands requires the --<command> format, "
"this will stop working in a future release\n");
}
if (rc != 0) {
- fprintf(stderr, "unrecognized command\n");
err(udev, "unrecognized command\n");
}
exit: