diff options
author | Robert Milasan <rmilasan@suse.com> | 2014-09-13 15:18:37 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-09-18 18:48:25 -0400 |
commit | a580624ac3f9c49e94b0ff97c6df459b87d6afac (patch) | |
tree | 749f69086ba99f91368020830e209422ea619123 /src/libudev/libudev-util.c | |
parent | abc50f3d922a50905063c2cc0dd64dfd1b0b9e6c (diff) |
udev: fix path for database names on 'change' event
If a device does not have a major/minor number attached, we use different
database names than if it does. On "change" events, we didn't copy the
devnum over, therefore, we used different paths than on 'add' or 'remove'
events (where devnum was properly copied).
Fix this by always copying the devnum into the udev-device.
(David: added commit-log from email)
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-util.c')
0 files changed, 0 insertions, 0 deletions