summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-10-23 13:07:22 -0400
committerPeter Jones <pjones@pjones2.localdomain>2008-10-23 13:07:22 -0400
commit07e5c442c0eedd8486952a3e51d7f61579699b52 (patch)
tree6eed0db74049a4f402f81a25da95f7bd3491146a
parent436bd62edb35525dd1d149ee1c5ad72b687cbbae (diff)
downloadanaconda-07e5c442c0eedd8486952a3e51d7f61579699b52.tar.gz
anaconda-07e5c442c0eedd8486952a3e51d7f61579699b52.tar.xz
anaconda-07e5c442c0eedd8486952a3e51d7f61579699b52.zip
Fix whitespace.
My previous edit had tabs all over the place.
-rw-r--r--loader/cdinstall.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/loader/cdinstall.c b/loader/cdinstall.c
index f3c55b8fa..4e6786017 100644
--- a/loader/cdinstall.c
+++ b/loader/cdinstall.c
@@ -332,28 +332,28 @@ static char *setupCdrom(char *location, struct loaderData_s *loaderData,
fd = open(devices[i]->device, O_RDONLY | O_NONBLOCK);
if (fd < 0) {
- logMessage(ERROR, "Couldn't open %s: %m", devices[i]->device);
- if (!FL_CMDLINE(flags))
- newtPopWindow();
- continue;
- }
+ logMessage(ERROR, "Couldn't open %s: %m", devices[i]->device);
+ if (!FL_CMDLINE(flags))
+ newtPopWindow();
+ continue;
+ }
rc = waitForCdromTrayClose(fd);
close(fd);
- switch (rc) {
- case CDS_NO_INFO:
- logMessage(ERROR, "Drive tray reports CDS_NO_INFO");
- break;
- case CDS_NO_DISC:
- if (!FL_CMDLINE(flags))
- newtPopWindow();
- continue;
- case CDS_TRAY_OPEN:
- logMessage(ERROR, "Drive tray reports open when it should be closed");
- break;
- default:
- break;
- }
+ switch (rc) {
+ case CDS_NO_INFO:
+ logMessage(ERROR, "Drive tray reports CDS_NO_INFO");
+ break;
+ case CDS_NO_DISC:
+ if (!FL_CMDLINE(flags))
+ newtPopWindow();
+ continue;
+ case CDS_TRAY_OPEN:
+ logMessage(ERROR, "Drive tray reports open when it should be closed");
+ break;
+ default:
+ break;
+ }
if (!FL_CMDLINE(flags))
newtPopWindow();