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 <[email protected]> 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(buf, "%llx", &sysadmin_ag_val);
                    ~~~~   ^~~~~~~~~~~~~~~~
                    %lx

Fairly trivial to fix obviously - I chnaged it to %lx - but not sure that would
work on non 64 bit platforms.

Hi Pete,

I have merged the fix (r310232) in r315328.

-Dimitry

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to