- declare *printf format specifiers if gcc detected
[citadel.git] / citadel / serv_network.c
index 37feb4079c198d6be6a93217795252b6c3df80cf..380974398f48b0b81f05102213a482df0897e9e4 100644 (file)
@@ -439,7 +439,7 @@ void network_spool_msg(long msgnum, void *userdata) {
                lprintf(9, "Generating delivery instructions\n");
                instr = mallok(instr_len);
                if (instr == NULL) {
-                       lprintf(1, "Cannot allocate %d bytes for instr...\n",
+                       lprintf(1, "Cannot allocate %ld bytes for instr...\n",
                                instr_len);
                        abort();
                }
@@ -1369,7 +1369,7 @@ void cmd_netp(char *cmdbuf)
        }
 
        if (network_talking_to(node, NTT_CHECK)) {
-               cprintf("%d Already talking to %s right now\n", ERROR);
+               cprintf("%d Already talking to %s right now\n", ERROR, node);
                return;
        }