aboutsummaryrefslogtreecommitdiff
path: root/hw/fdc.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2012-08-20 13:50:34 +0200
committerKevin Wolf <kwolf@redhat.com>2012-11-14 18:19:22 +0100
commitc83f97b563b5eb8ae5d10e6653f5f3f0f8c71b02 (patch)
tree29679191fcfca28c16b6d83041a8d0cbfc5803be /hw/fdc.c
parent27c86e24e9d6b2bbe15c16bc09eba5bd6fa094f2 (diff)
fdc: fix typo in zero constant
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/fdc.c')
-rw-r--r--hw/fdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fdc.c b/hw/fdc.c
index a197c48b97..de8778b7fa 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;