pkt-line: rename packet_write() to packet_write_fmt()
[gitweb.git] / builtin / upload-archive.c
index 2caedf184959e2120d8e30a02f885925ceb412b4..dc872f6a94c09f4390b5898aa499885d7700c737 100644 (file)
@@ -88,11 +88,11 @@ int cmd_upload_archive(int argc, const char **argv, const char *prefix)
        writer.git_cmd = 1;
        if (start_command(&writer)) {
                int err = errno;
-               packet_write(1, "NACK unable to spawn subprocess\n");
+               packet_write_fmt(1, "NACK unable to spawn subprocess\n");
                die("upload-archive: %s", strerror(err));
        }
 
-       packet_write(1, "ACK\n");
+       packet_write_fmt(1, "ACK\n");
        packet_flush(1);
 
        while (1) {