diff --git a/lib/transfer.c b/lib/transfer.c
index 1e3fafc8d29f9597f1eca760427560892040b892..b860805c6bfe6ce76a3ba6a2e977ebf4a8c56f5c 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -831,7 +831,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
                 failf(data, "Failed writing data");
                 return CURLE_WRITE_ERROR;
               }
-              failf(data, "Received problem in the chunky parser");
+              failf(data, "Received problem %d in the chunky parser", res);
               return CURLE_RECV_ERROR;
             }
             else if(CHUNKE_STOP == res) {