Test request blocks that are larger than 1MB, too.
[nbd.git] / nbd-server.c
index 51b725c..edb3eee 100644 (file)
@@ -1394,7 +1394,7 @@ int mainloop(CLIENT *client) {
                        err("Not enough magic.");
                if (len > BUFSIZE - sizeof(struct nbd_reply)) {
                        currlen = BUFSIZE - sizeof(struct nbd_reply);
-                       msg("INFO: oversized request (this is not a problem)");
+                       msg2(LOG_INFO, "oversized request (this is not a problem)");
                } else {
                        currlen = len;
                }