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
commiteda2fc2040603d9873aff949fe6f64b1208f5e91 (patch)
treec9b3b8e91bb512b222ae9926bb643a5836d70c4c /pkgtools
parent8921a1d11d5b65492f5a0360f9bc0859097e927b (diff)
downloadpkgsrc-eda2fc2040603d9873aff949fe6f64b1208f5e91.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;
}