From: Yu Watanabe Date: Thu, 25 Oct 2018 09:13:55 +0000 (+0900) Subject: udev: include error cause of parsing --children-max option in log message X-Git-Tag: v240~346^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=389f9bf2cf32df8235959a3693e0f9b3379d53ec;p=thirdparty%2Fsystemd.git udev: include error cause of parsing --children-max option in log message --- diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 4f93ec4c9ad..2564295ef05 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -1546,7 +1546,7 @@ static int parse_argv(int argc, char *argv[]) { case 'c': r = safe_atou(optarg, &arg_children_max); if (r < 0) - log_warning("Invalid --children-max ignored: %s", optarg); + log_warning_errno(r, "Failed to parse --children-max= value '%s', ignoring: %m", optarg); break; case 'e': r = parse_sec(optarg, &arg_exec_delay_usec);