Thanks - that is a better fix than my hack ;-)
On 03/15/17 20:12, Dimitry Andric wrote:
On 15 Mar 2017, at 13:42, Pete French wrote:
/usr/src/sys/modules/mlx4ib/../../ofed/drivers/infiniband/hw/mlx4/sysfs.c:90:22:
error:
format specifies type 'unsigned long long *' but the argument ha
On 15 Mar 2017, at 13:42, Pete French wrote:
>
>
>
> /usr/src/sys/modules/mlx4ib/../../ofed/drivers/infiniband/hw/mlx4/sysfs.c:90:22:
> error:
> format specifies type 'unsigned long long *' but the argument has type
> 'u64 *' (aka 'unsigned long *') [-Werror,-Wformat]
>sscanf
/usr/src/sys/modules/mlx4ib/../../ofed/drivers/infiniband/hw/mlx4/sysfs.c:90:22:
error:
format specifies type 'unsigned long long *' but the argument has type
'u64 *' (aka 'unsigned long *') [-Werror,-Wformat]
sscanf(buf, "%llx", &sysadmin_ag_val);