summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-08-11 15:04:05 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-08-11 15:04:05 +0200
commit36b6aca5c108e30af9742b79eff46272be771f82 (patch)
treea12a98a27177afba1804fd9e3027aacccac1ccef
parentebd189621f4b7e0034ea7a7067199bc9a0f28145 (diff)
cdrom_id: whitespace fix
-rw-r--r--extras/cdrom_id/cdrom_id.c10
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;
}