From: Hervé Poussineau Date: Mon, 20 Aug 2012 11:50:34 +0000 (+0200) Subject: fdc: fix typo in zero constant X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~3035^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c83f97b563b5eb8ae5d10e6653f5f3f0f8c71b02;p=sdk%2Femulator%2Fqemu.git fdc: fix typo in zero constant Signed-off-by: Hervé Poussineau Signed-off-by: Kevin Wolf --- diff --git a/hw/fdc.c b/hw/fdc.c index a197c48..de8778b 100644 --- a/hw/fdc.c +++ b/hw/fdc.c @@ -1244,7 +1244,7 @@ static void fdctrl_start_transfer(FDCtrl *fdctrl, int direction) fdctrl->data_state |= FD_STATE_MULTI; else fdctrl->data_state &= ~FD_STATE_MULTI; - if (fdctrl->fifo[5] == 00) { + if (fdctrl->fifo[5] == 0) { fdctrl->data_len = fdctrl->fifo[8]; } else { int tmp;