From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CC03A1382C5 for ; Wed, 28 Feb 2018 18:45:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21999E083E; Wed, 28 Feb 2018 18:45:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00839E083E for ; Wed, 28 Feb 2018 18:45:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6486335C3C for ; Wed, 28 Feb 2018 18:45:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8436321C for ; Wed, 28 Feb 2018 18:45:47 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1519768940.038c03bef315314ddb1e460c67d29b2599b494ad.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/supervise-daemon.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 038c03bef315314ddb1e460c67d29b2599b494ad X-VCS-Branch: master Date: Wed, 28 Feb 2018 18:45:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 25cc678c-49d4-4073-920e-03a9ea1ea742 X-Archives-Hash: 3543a5d3e22c5853a3f1e1c8cecfcc20 commit: 038c03bef315314ddb1e460c67d29b2599b494ad Author: William Hubbs gmail com> AuthorDate: Tue Feb 27 22:02:20 2018 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Feb 27 22:02:20 2018 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=038c03be supervise-daemon: make an error message more verbose src/rc/supervise-daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c index 6d36a5aa..669db3a2 100644 --- a/src/rc/supervise-daemon.c +++ b/src/rc/supervise-daemon.c @@ -581,7 +581,8 @@ int main(int argc, char **argv) openlog(applet, LOG_PID, LOG_DAEMON); if (argc >= 1 && svcname && strcmp(argv[1], svcname)) - eerrorx("%s: the first argument must be %s", applet, svcname); + eerrorx("%s: the first argument is %s and must be %s", + applet, argv[1], svcname); if ((tmp = getenv("SSD_NICELEVEL"))) if (sscanf(tmp, "%d", &nicelevel) != 1)