pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/pbuild In error messages, i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/12d4ae318e67
branches: trunk
changeset: 535950:12d4ae318e67
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Nov 30 17:31:38 2007 +0000
description:
In error messages, it is important to be as specific as possible, to
help the user understand the problem.
diffstat:
pkgtools/pbulk/files/pbulk/pbuild/jobs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 83924b85f74d -r 12d4ae318e67 pkgtools/pbulk/files/pbulk/pbuild/jobs.c
--- a/pkgtools/pbulk/files/pbulk/pbuild/jobs.c Fri Nov 30 17:22:44 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/pbuild/jobs.c Fri Nov 30 17:31:38 2007 +0000
@@ -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@localhost>.
@@ -353,7 +353,7 @@
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;
Home |
Main Index |
Thread Index |
Old Index