summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/bundle.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-08-09 22:56:18 +0000
committerbrian <brian@FreeBSD.org>1999-08-09 22:56:18 +0000
commitbef3aa58c70d8c43d1027dcd7f638a7de4fe6381 (patch)
treeecd9290a4ee072876793436601d6ade5feb46000 /usr.sbin/ppp/bundle.c
parent460ac15b25646ba12f3ff3575aab39ae035a5342 (diff)
downloadFreeBSD-src-bef3aa58c70d8c43d1027dcd7f638a7de4fe6381.zip
FreeBSD-src-bef3aa58c70d8c43d1027dcd7f638a7de4fe6381.tar.gz
Change printf formats %q[du] -> %ll[du]
Diffstat (limited to 'usr.sbin/ppp/bundle.c')
-rw-r--r--usr.sbin/ppp/bundle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c
index ddb3736..353a546 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);
OpenPOWER on IntegriCloud