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);
return -EINVAL;
}
- r = device_ammend(device, key, value);
+ r = device_amend(device, key, value);
if (r < 0)
return r;
}
/* 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);