summaryrefslogtreecommitdiff
path: root/src/snapshot.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/snapshot.c
parentbb00e604097fba830af1dc078d78aff278dfcd37 (diff)
unit: get rid of various unnecessary casts
Diffstat (limited to 'src/snapshot.c')
-rw-r--r--src/snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snapshot.c b/src/snapshot.c
index 513bf66475..ea3894bb91 100644
--- a/src/snapshot.c
+++ b/src/snapshot.c
@@ -40,7 +40,7 @@ static void snapshot_set_state(Snapshot *s, SnapshotState state) {
if (state != old_state)
log_debug("%s changed %s -> %s",
- UNIT(s)->meta.id,
+ s->meta.id,
snapshot_state_to_string(old_state),
snapshot_state_to_string(state));