Date: Mon, 20 Oct 2014 14:14:53 +0800 From: Tiwei Bie <btw@mail.ustc.edu.cn> To: kostikbel@gmail.com Cc: freebsd-hackers@freebsd.org Subject: Re: Re: Re: Fwd: Questions with the in_cksumdata() function in sys/amd64/amd64/in_cksum.c Message-ID: <1413785693-56400-1-git-send-email-btw@mail.ustc.edu.cn>
next in thread | raw e-mail | index | archive | help
Minor fix to the test program, lol.
diff --git a/misc/test/prefetch/main.c b/misc/test/prefetch/main.c
index 8f72085..9d2577d 100644
--- a/misc/test/prefetch/main.c
+++ b/misc/test/prefetch/main.c
@@ -490,7 +490,7 @@ int main(void)
gettimeofday(&tv2, NULL);
timersub(&tv2, &tv1, &res);
- printf("%ld.%6ld\n", res.tv_sec, res.tv_usec);
+ printf("%ld.%06ld\n", res.tv_sec, res.tv_usec);
return (0);
}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1413785693-56400-1-git-send-email-btw>
