diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-25 17:46:21 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-25 17:59:41 +0100 |
commit | c5ab2e02dc7086c72b23390594944b9278282347 (patch) | |
tree | a8d3f6885f53edc38597159bdb4ac17f85980369 | |
parent | 0ba696e20c94ef26275ffc0cfb3e54429d36e806 (diff) |
device: fix typo
-rw-r--r-- | src/core/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/device.c b/src/core/device.c index 4ed06a6e51..63d0302d3b 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -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) { |