summaryrefslogtreecommitdiff
path: root/src/udev/scsi_id/scsi_id.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-15 17:15:54 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-18 23:58:23 -0500
commited142bdb68fdcd5ce591152ce0ec9d29898fbac4 (patch)
tree2c573bc6188ba2c95a586460628358984705d959 /src/udev/scsi_id/scsi_id.h
parent53461b74df0576ec091275d1a5dbee00611df1ee (diff)
scsi_id: cleanup
Remove -i option which would case exit(1) to happen. Remove some unused code. Convert to bool where appropriate. Simplify things a bit. Always free everything. https://bugzilla.redhat.com/show_bug.cgi?id=1043304
Diffstat (limited to 'src/udev/scsi_id/scsi_id.h')
-rw-r--r--src/udev/scsi_id/scsi_id.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/udev/scsi_id/scsi_id.h b/src/udev/scsi_id/scsi_id.h
index 103e443d07..648b5ce42a 100644
--- a/src/udev/scsi_id/scsi_id.h
+++ b/src/udev/scsi_id/scsi_id.h
@@ -66,8 +66,8 @@ int scsi_get_serial(struct udev *udev, struct scsi_id_device *dev_scsi, const ch
* Page code values.
*/
enum page_code {
- PAGE_83_PRE_SPC3 = -0x83,
- PAGE_UNSPECIFIED = 0x00,
- PAGE_80 = 0x80,
- PAGE_83 = 0x83,
+ PAGE_83_PRE_SPC3 = -0x83,
+ PAGE_UNSPECIFIED = 0x00,
+ PAGE_80 = 0x80,
+ PAGE_83 = 0x83,
};