Author: oxygene Date: 2008-10-05 20:00:00 +0200 (Sun, 05 Oct 2008) New Revision: 78
Modified: trunk/filo/drivers/ide.c Log: The braces were only added to work around a bug in the printf macro. That bug is fixed now
Modified: trunk/filo/drivers/ide.c =================================================================== --- trunk/filo/drivers/ide.c 2008-10-03 19:11:48 UTC (rev 77) +++ trunk/filo/drivers/ide.c 2008-10-05 18:00:00 UTC (rev 78) @@ -809,11 +809,10 @@ cmd.sector_count = drive_info[6]; cmd.command = IDE_CMD_INITIALIZE_DRIVE_PARAMETERS; debug("Init device params... "); - if (pio_non_data(ctrl, &cmd) < 0) { + if (pio_non_data(ctrl, &cmd) < 0) debug("failed (ok for newer drives)\n"); - } else { + else debug("ok\n"); - } }
printf("hd%c: %s",