On Fri, Oct 11, 2024 at 03:18:09PM +0000, Emmanuel Nyarko wrote:
https://github.com/NetBSD/src/blob/trunk/usr.sbin/npf/npfctl/npfctl.c#L506
ret = npfctl_load(fd);
fun = "npfctl_config_load?; // looks like there?s a typo here
The "fun" string is only used in error messages a few lines below:
if (ret) {
err(EXIT_FAILURE, "%s", fun);
}
so it should be "npfctl_load" since that is what returned "ret”.