From c91b714c01901d81b3d1c15d72bd6dc3375c3302 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 21 May 2007 18:05:10 +0200 Subject: inotail.c: Improve error message --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotail.c b/inotail.c index 3384d5b..1081aec 100644 --- a/inotail.c +++ b/inotail.c @@ -468,7 +468,7 @@ int main(int argc, char **argv) files = malloc(n_files * sizeof(struct file_struct)); if (unlikely(!files)) { - fprintf(stderr, "Error: Not enough memory (%s)\n", strerror(errno)); + fprintf(stderr, "Error: Failed to allocate memory (%s)\n", strerror(errno)); exit(EXIT_FAILURE); } -- cgit v1.2.3-54-g00ecf From 18244146721e33ff0307cdddec3024cc4a1f91e4 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 21 May 2007 23:46:20 +0200 Subject: Makefile: Reorder CFLAGS --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d5f8c0f..a93a097 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ BINDIR = $(prefix)/bin MANDIR = $(prefix)/share/man/man1 CC := gcc -CFLAGS := $(CFLAGS) -W -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" \ +CFLAGS := $(CFLAGS) -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" -W -Wall \ -Wstrict-prototypes -Wsign-compare -Wshadow -Wchar-subscripts \ -Wmissing-declarations -Wpointer-arith -Wcast-align -Wmissing-prototypes -- cgit v1.2.3-54-g00ecf ue='switch'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines