summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unpack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unpack.c b/src/unpack.c
index 51efbafd7..66b872fff 100644
--- a/src/unpack.c
+++ b/src/unpack.c
@@ -629,8 +629,8 @@ void process_archive(const char *filename) {
p= conffilenamebuf + strlen(conffilenamebuf);
assert(p != conffilenamebuf);
if (p[-1] != '\n')
- ohshit(_("name of conffile (starting `%.250s') is too long (>%d characters)"),
- conffilenamebuf, MAXCONFFILENAME);
+ ohshit(_("conffile name '%s' is too long, or missing final newline"),
+ conffilenamebuf);
while (p > conffilenamebuf && isspace(p[-1])) --p;
if (p == conffilenamebuf) continue;
*p = '\0';