diff options
author | Brian Somers <brian@FreeBSD.org> | 1999-08-09 22:56:18 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1999-08-09 22:56:18 +0000 |
commit | e531f89a62caa5d380bd4efb2e6a0f9ad48377fb (patch) | |
tree | 7c73c57e1df8e70d9ffc78c5fbf724f2d8bdc2f1 /usr.sbin/ppp/bundle.c | |
parent | 1080ea25e8907b4f6c553ddb744d9988d7ad5ef2 (diff) | |
download | src-e531f89a62caa5d380bd4efb2e6a0f9ad48377fb.tar.gz src-e531f89a62caa5d380bd4efb2e6a0f9ad48377fb.zip |
Change printf formats %q[du] -> %ll[du]
Notes
Notes:
svn path=/head/; revision=49582
Diffstat (limited to 'usr.sbin/ppp/bundle.c')
-rw-r--r-- | usr.sbin/ppp/bundle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index ddb37366d428..353a546722e3 100644 --- a/usr.sbin/ppp/bundle.c +++ b/usr.sbin/ppp/bundle.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bundle.c,v 1.59 1999/08/05 10:32:07 brian Exp $ + * $Id: bundle.c,v 1.60 1999/08/06 20:04:01 brian Exp $ */ #include <sys/param.h> @@ -1019,7 +1019,7 @@ bundle_ShowLinks(struct cmdargs const *arg) prompt_Printf(arg->prompt, "Name: %s [%s, %s]", dl->name, mode2Nam(dl->physical->type), datalink_State(dl)); if (dl->physical->link.throughput.rolling && dl->state == DATALINK_OPEN) - prompt_Printf(arg->prompt, " bandwidth %d, %qu bps (%qu bytes/sec)", + prompt_Printf(arg->prompt, " bandwidth %d, %llu bps (%llu bytes/sec)", dl->mp.bandwidth ? dl->mp.bandwidth : physical_GetSpeed(dl->physical), dl->physical->link.throughput.OctetsPerSecond * 8, @@ -1032,7 +1032,7 @@ bundle_ShowLinks(struct cmdargs const *arg) if (secs > t->SamplePeriod) secs = t->SamplePeriod; if (secs) - prompt_Printf(arg->prompt, "Currently averaging %qu bps (%qu bytes/sec)" + prompt_Printf(arg->prompt, "Currently averaging %llu bps (%llu bytes/sec)" " over the last %d secs\n", t->OctetsPerSecond * 8, t->OctetsPerSecond, secs); |