summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-device
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 /src/libsystemd/sd-device
parent4df4fd1127df4b70f78d952a37a51a8c69e3243f (diff)
sd-device,udevd: fix spelling /ammend/amend/
Diffstat (limited to 'src/libsystemd/sd-device')
-rw-r--r--src/libsystemd/sd-device/device-private.c4
1 files changed, 2 insertions, 2 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;
}