On Tue, Dec 1, 2015 at 10:18 PM, Craig Rodrigues
wrote:
> On Tue, Dec 1, 2015 at 6:11 PM, Bryan Drewery
> wrote:
>
> > - (void) snprintf(buf, size, "%#lx", addr);
> > + (void) snprintf(buf, size, "%#lx", (unsigned long)addr);
> > return (0);
> >
>
> In
On Tue, Dec 1, 2015 at 6:11 PM, Bryan Drewery wrote:
> - (void) snprintf(buf, size, "%#lx", addr);
> + (void) snprintf(buf, size, "%#lx", (unsigned long)addr);
> return (0);
>
In the past when I've hit these types of problems,
I have found that using %
Author: bdrewery
Date: Wed Dec 2 02:11:38 2015
New Revision: 291637
URL: https://svnweb.freebsd.org/changeset/base/291637
Log:
Fix the build for non-amd64.
Modified:
head/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c
Modified: head/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c
===