mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
udev: fix typos
Spotted by Andreas Henriksson.
This commit is contained in:
parent
4bbdff757e
commit
65fea570f0
@ -205,7 +205,7 @@ struct udev_ctrl_connection *udev_ctrl_get_connection(struct udev_ctrl *uctrl) {
|
||||
/* enable receiving of the sender credentials in the messages */
|
||||
r = setsockopt(conn->sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
|
||||
if (r < 0)
|
||||
log_warning("colud not set SO_PASSCRED: %m");
|
||||
log_warning("could not set SO_PASSCRED: %m");
|
||||
|
||||
udev_ctrl_ref(uctrl);
|
||||
return conn;
|
||||
|
@ -1060,7 +1060,7 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
case 't':
|
||||
r = safe_atou64(optarg, &arg_event_timeout_usec);
|
||||
if (r < 0)
|
||||
log_warning("Invalig --event-timeout ignored: %s", optarg);
|
||||
log_warning("Invalid --event-timeout ignored: %s", optarg);
|
||||
else {
|
||||
arg_event_timeout_usec *= USEC_PER_SEC;
|
||||
arg_event_timeout_warn_usec = (arg_event_timeout_usec / 3) ? : 1;
|
||||
|
Loading…
Reference in New Issue
Block a user