diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-30 17:31:38 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-30 17:31:38 +0000 |
commit | 085721094b07f6a117c6d45b0a4c27611df3779a (patch) | |
tree | fc5235181ad0955cb5f2e8e2f08e04ce8b0ff365 /pkgtools | |
parent | 1af9ce070ba33b61edc971725fd1f9fb2b5a317f (diff) | |
download | pkgsrc-085721094b07f6a117c6d45b0a4c27611df3779a.tar.gz |
In error messages, it is important to be as specific as possible, to
help the user understand the problem.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pbulk/files/pbulk/pbuild/jobs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pbulk/files/pbulk/pbuild/jobs.c b/pkgtools/pbulk/files/pbulk/pbuild/jobs.c index afb02aceec2..9e474aa36a5 100644 --- a/pkgtools/pbulk/files/pbulk/pbuild/jobs.c +++ b/pkgtools/pbulk/files/pbulk/pbuild/jobs.c @@ -1,4 +1,4 @@ -/* $NetBSD: jobs.c,v 1.6 2007/11/28 11:34:20 rillig Exp $ */ +/* $NetBSD: jobs.c,v 1.7 2007/11/30 17:31:38 rillig Exp $ */ /*- * Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -353,7 +353,7 @@ build_tree(void) break; } if (iter == NULL) - errx(1, "Dependency doesn't exist"); + errx(1, "Dependency `%.*s' doesn't exist", (int)strcspn(depends, " \t\n"), depends); dep = xmalloc(sizeof(*dep)); dep->dependency = job; |