diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-10-04 11:29:23 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-10-04 12:32:21 +0200 |
commit | 1d6cc5d0e5658848ac8cce5da22626d17f15b1ec (patch) | |
tree | 8db129e0c588d80dcf272334ea5c8844c8cfaeb0 /src/udev/scsi_id | |
parent | coccinelle: skip strjoin transformation in test_strjoin() (diff) | |
download | systemd-1d6cc5d0e5658848ac8cce5da22626d17f15b1ec.tar.xz systemd-1d6cc5d0e5658848ac8cce5da22626d17f15b1ec.zip |
tree-wide: coccinelle fixes
Diffstat (limited to 'src/udev/scsi_id')
-rw-r--r-- | src/udev/scsi_id/scsi_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/scsi_id/scsi_id.c b/src/udev/scsi_id/scsi_id.c index bb08da28b5..9c33a560a8 100644 --- a/src/udev/scsi_id/scsi_id.c +++ b/src/udev/scsi_id/scsi_id.c @@ -236,7 +236,7 @@ static int get_file_options(const char *vendor, const char *model, retval = -1; break; } - if (vendor == NULL) { + if (!vendor) { if (!vendor_in) break; } else if (vendor_in && |