summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2007-11-13 19:30:26 +0000
committerrillig <rillig>2007-11-13 19:30:26 +0000
commit55ea340f344939b71eef20edfb2fc1f1a5f335cd (patch)
treec9b3b8e91bb512b222ae9926bb643a5836d70c4c /pkgtools
parent7c7739e0530a838a442dc5cbda5474b0fa2b51b3 (diff)
downloadpkgsrc-55ea340f344939b71eef20edfb2fc1f1a5f335cd.tar.gz
There are several error messages with the same words. To make finding
the cause easier, add more information to one of them.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pbulk/files/pbulk/lib/read_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pbulk/files/pbulk/lib/read_file.c b/pkgtools/pbulk/files/pbulk/lib/read_file.c
index 473271c8225..b25412cfff4 100644
--- a/pkgtools/pbulk/files/pbulk/lib/read_file.c
+++ b/pkgtools/pbulk/files/pbulk/lib/read_file.c
@@ -1,4 +1,4 @@
-/* $NetBSD: read_file.c,v 1.2 2007/06/25 21:38:44 joerg Exp $ */
+/* $NetBSD: read_file.c,v 1.3 2007/11/13 19:30:26 rillig Exp $ */
/*-
* Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>.
@@ -67,7 +67,7 @@ read_from_file(int fd)
input[input_len] = '\0';
if (strlen(input) != input_len)
- errx(1, "Invalid input");
+ errx(1, "Invalid input (NUL character found)");
return input;
}