summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-03 22:51:09 +0200
committerTom Gundersen <teg@jklm.no>2015-04-03 22:51:09 +0200
commit401cb61499f446c7c1579a160eeef435afd525fd (patch)
tree77a7b46330a590a8fdbeb5f1b9206a838b2359d5
parent4df4fd1127df4b70f78d952a37a51a8c69e3243f (diff)
sd-device,udevd: fix spelling /ammend/amend/
-rw-r--r--src/libsystemd/sd-device/device-private.c4
-rw-r--r--src/udev/udevd.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd/sd-device/device-private.c b/src/libsystemd/sd-device/device-private.c
index 544b837b12..86d760cddf 100644
--- a/src/libsystemd/sd-device/device-private.c
+++ b/src/libsystemd/sd-device/device-private.c
@@ -366,7 +366,7 @@ static int device_set_devgid(sd_device *device, const char *gid) {
return 0;
}
-static int device_ammend(sd_device *device, const char *key, const char *value) {
+static int device_amend(sd_device *device, const char *key, const char *value) {
int r;
assert(device);
@@ -507,7 +507,7 @@ static int device_append(sd_device *device, char *key, const char **_major, cons
return -EINVAL;
}
- r = device_ammend(device, key, value);
+ r = device_amend(device, key, value);
if (r < 0)
return r;
}
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 8eaf2cdc8c..830aedd0fe 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -893,7 +893,7 @@ static void handle_signal(struct udev *udev, int signo) {
/* delete state from disk */
udev_device_delete_db(worker->event->dev);
udev_device_tag_index(worker->event->dev, NULL, false);
- /* forward kernel event without ammending it */
+ /* forward kernel event without amending it */
udev_monitor_send_device(monitor, NULL, worker->event->dev_kernel);
event_queue_delete(worker->event);