check_mrtg was using a strange combination of argument positions and optarg. Trivial fix enclosed, please apply this path to ports tree. Fix: Replace the 2 argv references with getopt as below (spaces removed) but it's a small change. 341c341 < value_warning_threshold=strtoul(argv[5],NULL,10); --- > value_warning_threshold=strtoul(optarg,NULL,10); 344c344 < value_critical_threshold=strtoul(argv[6],NULL,10); --- > value_critical_threshold=strtoul(optarg,NULL,10); How-To-Repeat: build it.
State Changed From-To: open->closed Committed, thanks!