From Ashton Fagg. OK tb@.
-/* $OpenBSD: sysctl.c,v 1.255 2021/01/13 16:28:49 cheloha Exp $ */
+/* $OpenBSD: sysctl.c,v 1.256 2021/05/11 21:45:33 dv Exp $ */
/* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */
/*
newval);
if (len == -1) {
warnx("%s: hex string %s: invalid",
- string, newval);
+ string, (char *)newval);
return;
}
if (len > sizeof(hex)) {
warnx("%s: hex string %s: too long",
- string, newval);
+ string, (char *)newval);
return;
}