summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-05-21 23:48:56 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-05-21 23:48:56 +0200
commitda6ced09604b870ae41c534237399f7f51c68dcd (patch)
treecb8ba2ed80b70490dd0872ba0cd29631bf964e84
parentec290fea4468a13a8019ce24b9bf2896f4725330 (diff)
parent18244146721e33ff0307cdddec3024cc4a1f91e4 (diff)
Merge commit 'HEAD'; branch 'master' into buffersize
-rw-r--r--Makefile2
-rw-r--r--inotail.c2
2 files changed, 2 insertions, 2 deletions
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
diff --git a/inotail.c b/inotail.c
index 4664a62..fc021dd 100644
--- a/inotail.c
+++ b/inotail.c
@@ -513,7 +513,7 @@ int main(int argc, char **argv)
files = malloc(n_files * sizeof(struct file_struct));
if (unlikely(!files)) {
- fprintf(stderr, "Error: Could not allocate memory (%s)\n", strerror(errno));
+ fprintf(stderr, "Error: Failed to allocate memory (%s)\n", strerror(errno));
exit(EXIT_FAILURE);
}