From owner-cvs-usrsbin Wed Sep 10 01:48:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA17388 for cvs-usrsbin-outgoing; Wed, 10 Sep 1997 01:48:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA17281; Wed, 10 Sep 1997 01:46:07 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA03368; Wed, 10 Sep 1997 01:43:20 -0700 (PDT) Date: Wed, 10 Sep 1997 01:43:20 -0700 (PDT) Message-Id: <199709100843.BAA03368@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pppstats pppstats.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/09/10 01:43:20 PDT Modified files: usr.sbin/pppstats pppstats.c Log: Duh, calculate the compression ration correctly. (fixed point artithmatic with 8 "fractional" bits needs to be divided (not multiplied) by 256.0 to get a floating point representation) Revision Changes Path 1.11 +5 -5 src/usr.sbin/pppstats/pppstats.c