]> git.ipfire.org Git - thirdparty/systemd.git/commit
scsi_id: modernize and use extract_many_words instead of strsep
authorLuca Boccassi <bluca@debian.org>
Wed, 7 Apr 2021 21:58:12 +0000 (22:58 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 8 Apr 2021 12:07:31 +0000 (13:07 +0100)
commita9a49d2fea7a14a52ae2a93b93967fc51bcb5b5f
treedf99b364c1bacc7849f37f15c75e020766fc402e
parentb01339f74fb3baf1802517a466abb6dab10d09e4
scsi_id: modernize and use extract_many_words instead of strsep

Also use standard error loggin/return pattern.

Only cursory tested, by checking that with a simple config file
the array is the same before/after. Not tested with actual scsi
rules and devices, due to missing hardware.
src/udev/scsi_id/scsi_id.c