diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-08-11 15:04:05 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-08-11 15:04:05 +0200 |
commit | 36b6aca5c108e30af9742b79eff46272be771f82 (patch) | |
tree | a12a98a27177afba1804fd9e3027aacccac1ccef /extras | |
parent | ebd189621f4b7e0034ea7a7067199bc9a0f28145 (diff) |
cdrom_id: whitespace fix
Diffstat (limited to 'extras')
-rw-r--r-- | extras/cdrom_id/cdrom_id.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c index 338b3782cb..5086bfa64f 100644 --- a/extras/cdrom_id/cdrom_id.c +++ b/extras/cdrom_id/cdrom_id.c @@ -378,14 +378,12 @@ static int cd_profiles_old_mmc(struct udev *udev, int fd) if (header[2] & 16) { cd_media_cd_rw = 1; info(udev, "profile 0x0a media_cd_rw\n"); - } - else if ((header[2] & 3) < 2 && cd_cd_r) { + } else if ((header[2] & 3) < 2 && cd_cd_r) { cd_media_cd_r = 1; info(udev, "profile 0x09 media_cd_r\n"); - } - else { - cd_media_cd_rom = 1; - info(udev, "profile 0x08 media_cd_rom\n"); + } else { + cd_media_cd_rom = 1; + info(udev, "profile 0x08 media_cd_rom\n"); } return 0; } |