summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-08-08 14:29:38 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-08-08 15:42:05 +0200
commit214a6c791cbc0c1a190c430eb37056087e661344 (patch)
treed9d42bf69d517d3b62240c2b6f0f18c442aead64 /udev
parentbd2dab9ce566a4e30d5372be9fa4e1921b7749f7 (diff)
fix spelling
Fix spelling in docbook comments, code comments, and a local variable name. Thanks to "ispell -h" for docbook HTML and "scspell" for source code. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Diffstat (limited to 'udev')
-rw-r--r--udev/udev-event.c2
-rw-r--r--udev/udev-rules.c4
-rw-r--r--udev/udevadm-control.c2
-rw-r--r--udev/udevadm-trigger.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c
index 6a8bb44cf4..f3c2bd2225 100644
--- a/udev/udev-event.c
+++ b/udev/udev-event.c
@@ -571,7 +571,7 @@ int udev_event_execute_rules(struct udev_event *event, struct udev_rules *rules)
}
if (event->name != NULL && event->name[0] == '\0') {
- info(event->udev, "device node creation supressed\n");
+ info(event->udev, "device node creation suppressed\n");
delete_kdevnode = 1;
goto exit_add;
}
diff --git a/udev/udev-rules.c b/udev/udev-rules.c
index 03234fe2a1..53baa187e6 100644
--- a/udev/udev-rules.c
+++ b/udev/udev-rules.c
@@ -270,7 +270,7 @@ static const char *token_str(enum token_type type)
[TK_M_PROGRAM] = "M PROGRAM",
[TK_M_IMPORT_FILE] = "M IMPORT_FILE",
[TK_M_IMPORT_PROG] = "M IMPORT_PROG",
- [TK_M_IMPORT_PARENT] = "M MPORT_PARENT",
+ [TK_M_IMPORT_PARENT] = "M IMPORT_PARENT",
[TK_M_RESULT] = "M RESULT",
[TK_M_MAX] = "M MAX",
@@ -1508,7 +1508,7 @@ static int add_rule(struct udev_rules *rules, char *line,
int tout = atoi(&pos[strlen("event_timeout=")]);
rule_add_key(&rule_tmp, TK_A_EVENT_TIMEOUT, 0, NULL, &tout);
- dbg(rules->udev, "event timout=%i\n", tout);
+ dbg(rules->udev, "event timeout=%i\n", tout);
}
pos = strstr(value, "string_escape=");
if (pos != NULL) {
diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c
index 3fe41977c5..3eb03d8b04 100644
--- a/udev/udevadm-control.c
+++ b/udev/udevadm-control.c
@@ -115,7 +115,7 @@ int udevadm_control(struct udev *udev, int argc, char *argv[])
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);
diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index 5cd4acd6ed..8a626ec744 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -186,8 +186,8 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[])
" failed trigger only the events which have been\n"
" marked as failed during a previous run\n"
" --action=<action> event action value, default is \"add\"\n"
- " --subsystem-match=<subsystem> trigger devices from a matching subystem\n"
- " --subsystem-nomatch=<subsystem> exclude devices from a matching subystem\n"
+ " --subsystem-match=<subsystem> trigger devices from a matching subsystem\n"
+ " --subsystem-nomatch=<subsystem> exclude devices from a matching subsystem\n"
" --attr-match=<file[=<value>]> trigger devices with a matching attribute\n"
" --attr-nomatch=<file[=<value>]> exclude devices with a matching attribute\n"
" --property-match=<key>=<value> trigger devices with a matching property\n"