device: fix typo

This commit is contained in:
Lennart Poettering 2013-11-25 17:46:21 +01:00
parent 0ba696e20c
commit c5ab2e02dc

View file

@ -265,7 +265,7 @@ static int device_update_unit(Manager *m, struct udev_device *dev, const char *p
char e[l+1];
memcpy(e, w, l);
e[l] = 1;
e[l] = 0;
n = unit_name_mangle(e);
if (!n) {