*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 15 Feb 2007 21:17:31 +0000 (21:17 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Thu, 15 Feb 2007 21:17:31 +0000 (21:17 +0000)
tests/entropy/entropy_disk.c

index 0a44ba0..fc5f154 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: entropy_disk.c,v 1.5 2006/09/21 20:11:16 mmondor Exp $ */
+/* $Id: entropy_disk.c,v 1.6 2007/02/15 21:17:31 mmondor Exp $ */
 
 /*
  * Copyright (c) 2006 Pulsar-Zone, Reg.
@@ -596,7 +596,7 @@ buffer_alloc(size_t size)
                perror("mlock()");
                goto err;
        }
-       if (madvise(buf, size, MADV_SEQUENTIAL) == -1) {
+       if (madvise(buf, size, MADV_WILLNEED) == -1) {
                perror("madvise()");
                goto err;
        }