summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/9p.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/9pfs/9p.c')
-rw-r--r--hw/9pfs/9p.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
index 6026b51a1c..37c3379b74 100644
--- a/hw/9pfs/9p.c
+++ b/hw/9pfs/9p.c
@@ -413,7 +413,7 @@ static V9fsFidState *clunk_fid(V9fsState *s, int32_t fid)
}
fidp = *fidpp;
*fidpp = fidp->next;
- fidp->clunked = 1;
+ fidp->clunked = true;
return fidp;
}
@@ -544,7 +544,7 @@ static void coroutine_fn virtfs_reset(V9fsPDU *pdu)
/* Clunk fid */
s->fid_list = fidp->next;
- fidp->clunked = 1;
+ fidp->clunked = true;
put_fid(pdu, fidp);
}