diff options
Diffstat (limited to 'net/9p/client.c')
-rw-r--r-- | net/9p/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/9p/client.c b/net/9p/client.c index bc7b03537699..e3cfdff37327 100644 --- a/net/9p/client.c +++ b/net/9p/client.c | |||
@@ -579,6 +579,8 @@ p9_client_rpc(struct p9_client *c, int8_t type, const char *fmt, ...) | |||
579 | va_start(ap, fmt); | 579 | va_start(ap, fmt); |
580 | err = p9pdu_vwritef(req->tc, c->proto_version, fmt, ap); | 580 | err = p9pdu_vwritef(req->tc, c->proto_version, fmt, ap); |
581 | va_end(ap); | 581 | va_end(ap); |
582 | if (err) | ||
583 | goto reterr; | ||
582 | p9pdu_finalize(req->tc); | 584 | p9pdu_finalize(req->tc); |
583 | 585 | ||
584 | err = c->trans_mod->request(c, req); | 586 | err = c->trans_mod->request(c, req); |