mirror of
https://github.com/systemd/systemd.git
synced 2025-03-01 08:58:29 +03:00
bus: Fix read_word_le() function
This commit is contained in:
parent
47c94a96df
commit
1ffee377ee
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user