nonetwork: new line before the message and flush

fflush(stderr) may be needed:
http://mailman.linuxchix.org/pipermail/courses/2002-August/000691.html
This commit is contained in:
Boris Nagaev 2016-03-26 14:17:36 +03:00
parent 53666085c9
commit 4d73354c64
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@
#include <stdio.h>
static void print_message() {
fprintf(stderr, "Don't use network from MXE build rules!\n");
fflush(stderr);
fprintf(stderr, "\nDon't use network from MXE build rules!\n");
fflush(stderr);
}
int connect(int sock, const void *addr, unsigned int len) {