summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-05-21 18:05:10 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-05-21 18:05:10 +0200
commitc91b714c01901d81b3d1c15d72bd6dc3375c3302 (patch)
treea82dc13ddb0d8e48eb52c03314dd17d4517c74c4 /inotail.c
parentb477e59dd3f3d70a7ce0efe28f94dc80e64cacc6 (diff)
inotail.c: Improve error message
Diffstat (limited to 'inotail.c')
-rw-r--r--inotail.c2
1 files changed, 1 insertions, 1 deletions
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);
}