summaryrefslogtreecommitdiff
path: root/src/libsystemd/bus-message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd/bus-message.c')
-rw-r--r--src/libsystemd/bus-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/bus-message.c b/src/libsystemd/bus-message.c
index 0c8604c492..1a2039b8cd 100644
--- a/src/libsystemd/bus-message.c
+++ b/src/libsystemd/bus-message.c
@@ -1935,7 +1935,7 @@ static size_t read_word_le(void *p, size_t sz) {
return le16toh(x.u16);
else if (sz == 4)
return le32toh(x.u32);
- else if (sz == 4)
+ else if (sz == 8)
return le64toh(x.u64);
assert_not_reached("unknown word width");