udev: use startswith() instead of the combination of strneq() and strlen() (#8459)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 16 Mar 2018 09:29:57 +0000 (18:29 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Mar 2018 09:29:57 +0000 (10:29 +0100)
commit0caa99466d63aea1180f0b93838428e907c919da
treecc3a558bded553a2487627fe3749895eececa1c2
parent8eebb6a9e5e74ec0ef40902e2da53d24559b94a4
udev: use startswith() instead of the combination of strneq() and strlen() (#8459)
src/udev/scsi_id/scsi_id.c