summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-19 16:55:49 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-19 16:55:49 +0200
commit4cd1fbcc0648a289e9bf9d9047621bbdf7ec0ece (patch)
treeb4442600eb49703950251cd30274eedea48c4ecc /src/device.c
parentbb00e604097fba830af1dc078d78aff278dfcd37 (diff)
unit: get rid of various unnecessary casts
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index adc6cc1e27..a0349c4300 100644
--- a/src/device.c
+++ b/src/device.c
@@ -53,7 +53,7 @@ static void device_set_state(Device *d, DeviceState state) {
if (state != old_state)
log_debug("%s changed %s -> %s",
- UNIT(d)->meta.id,
+ d->meta.id,
device_state_to_string(old_state),
device_state_to_string(state));