Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2012 09:27:56 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Konstantin Belousov <kib@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r239300 - head/sys/dev/ath/ath_rate/sample
Message-ID:  <CAJ-VmonrNLd%2BSwhgxRV8pRsFQT90LAmM9QYPvF5-fLZHO%2BC8Og@mail.gmail.com>
In-Reply-To: <201208151553.q7FFrSw8075676@svn.freebsd.org>
References:  <201208151553.q7FFrSw8075676@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks. I need to tattoo unitmax_t and %j somewhere nearby...



Adrian


On 15 August 2012 08:53, Konstantin Belousov <kib@freebsd.org> wrote:
> Author: kib
> Date: Wed Aug 15 15:53:27 2012
> New Revision: 239300
> URL: http://svn.freebsd.org/changeset/base/239300
>
> Log:
>   Fix build
>
> Modified:
>   head/sys/dev/ath/ath_rate/sample/sample.c
>
> Modified: head/sys/dev/ath/ath_rate/sample/sample.c
> ==============================================================================
> --- head/sys/dev/ath/ath_rate/sample/sample.c   Wed Aug 15 15:42:57 2012        (r239299)
> +++ head/sys/dev/ath/ath_rate/sample/sample.c   Wed Aug 15 15:53:27 2012        (r239300)
> @@ -1296,11 +1296,11 @@ sample_stats(void *arg, struct ieee80211
>         uint64_t mask;
>         int rix, y;
>
> -       printf("\n[%s] refcnt %d static_rix (%d %s) ratemask 0x%qx\n",
> +       printf("\n[%s] refcnt %d static_rix (%d %s) ratemask 0x%jx\n",
>             ether_sprintf(ni->ni_macaddr), ieee80211_node_refcnt(ni),
>             dot11rate(rt, sn->static_rix),
>             dot11rate_label(rt, sn->static_rix),
> -           sn->ratemask);
> +           (uintmax_t)sn->ratemask);
>         for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) {
>                 printf("[%4u] cur rix %d (%d %s) since switch: packets %d ticks %u\n",
>                     bin_to_size(y), sn->current_rix[y],



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonrNLd%2BSwhgxRV8pRsFQT90LAmM9QYPvF5-fLZHO%2BC8Og>