From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3FYf-0003XI-E5 for qemu-devel@nongnu.org; Sun, 10 May 2009 16:23:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3FYa-0003X4-0u for qemu-devel@nongnu.org; Sun, 10 May 2009 16:23:36 -0400 Received: from [199.232.76.173] (port=34673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3FYZ-0003X1-Rf for qemu-devel@nongnu.org; Sun, 10 May 2009 16:23:31 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:41413) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3FYZ-0007HD-HY for qemu-devel@nongnu.org; Sun, 10 May 2009 16:23:31 -0400 Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id C9A97FC227AF for ; Sun, 10 May 2009 22:23:29 +0200 (CEST) Received: from [88.65.41.104] (helo=[192.168.1.3]) by smtp08.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #277) id 1M3FYX-0002ZI-00 for qemu-devel@nongnu.org; Sun, 10 May 2009 22:23:29 +0200 Message-ID: <4A0737BB.6060405@web.de> Date: Sun, 10 May 2009 22:23:23 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5B8FF7BFC5C56913B2E4845D" Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH] net: Fix dump time stamps List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5B8FF7BFC5C56913B2E4845D Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Signed-off-by: Jan Kiszka --- net.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net.c b/net.c index 36c5f4b..1d3e1cc 100644 --- a/net.c +++ b/net.c @@ -1931,10 +1931,10 @@ static void dump_receive(void *opaque, const uint= 8_t *buf, int size) return; } =20 - ts =3D muldiv64 (qemu_get_clock(vm_clock),1000000, ticks_per_sec); + ts =3D muldiv64(qemu_get_clock(vm_clock), 1000000, ticks_per_sec); caplen =3D size > s->pcap_caplen ? s->pcap_caplen : size; =20 - hdr.ts.tv_sec =3D ts / 1000000000LL; + hdr.ts.tv_sec =3D ts / 1000000; hdr.ts.tv_usec =3D ts % 1000000; hdr.caplen =3D caplen; hdr.len =3D size; --------------enig5B8FF7BFC5C56913B2E4845D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkoHN8AACgkQniDOoMHTA+mtOACfY8h7+JS8Cp2pSIC09vlkN8Jr eicAn2zeP3s9m16QVelInGZ+asanOFv+ =Rxgu -----END PGP SIGNATURE----- --------------enig5B8FF7BFC5C56913B2E4845D--