diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-04-01 14:21:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-04-04 17:04:14 +0200 |
commit | 1748853700551fcea8e68047621fa9cffff904eb (patch) | |
tree | c9a557c2f9434f7b56cc726f42fe4cad847defd9 /src/udev/udevadm.c | |
parent | 666efe94c998dad2b94be9b7cf471071e45784b9 (diff) | |
download | systemd-1748853700551fcea8e68047621fa9cffff904eb.tar.gz |
hash-funcs: tweak odering in devt_compare_func()
Let's order dev_t's by their major first, minor secondary. The binary
encoding of the two fields is weirdly interleaved and different in
kernel and glibc, hence let's focus on the generic part that works like
users would expect it.
So far the function is only used to compare for equality, not for
sorting, hence this has no immediate effect.
Diffstat (limited to 'src/udev/udevadm.c')
0 files changed, 0 insertions, 0 deletions