Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 11:14:37 -0500
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: alpha tinderbox failure
Message-ID:  <20030106111437.E24442@espresso.q9media.com>
In-Reply-To: <20030106104536.C24442@espresso.q9media.com>; from mike@FreeBSD.org on Mon, Jan 06, 2003 at 10:45:36AM -0500
References:  <200301061201.h06C1VOx027972@beast.freebsd.org> <20030106104536.C24442@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Barcroft <mike@FreeBSD.org> writes:
> @@ -1077,8 +1078,9 @@
>  
>  	if (buflen != sizeof(temp)) {
>  		if (buflen != sizeof(temp) - sizeof(temp.ml_auxsingle)) {
> -			printf("mac_lomac_associate_vnode_extattr: bad size %d\n",
> -			    buflen);
> +			printf(
> +			    "mac_lomac_associate_vnode_extattr: bad size %ju\n",
> +			    (uintmax_t)buflen);
>  			return (EPERM);
>  		}
>  		bzero(&temp.ml_auxsingle, sizeof(temp.ml_auxsingle));

Oops, I forgot we have %z in printf(9) now.  That would obviously be
better.

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030106111437.E24442>