Fix typo in memset

Signed-off-by: Patrick Marchand Latifi <[EMAIL PROTECTED]>
---

 test/dtest/dtest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/dtest/dtest.c b/test/dtest/dtest.c
index 66c01cc..4264e9b 100755
--- a/test/dtest/dtest.c
+++ b/test/dtest/dtest.c
@@ -249,7 +249,7 @@ main(int argc, char **argv)
                perror("malloc");
                exit(1);
        }
-       memset( &time, sizeof(time), 0);
+       memset( &time, 0, sizeof(time) );
        LOGPRINTF("%d Allocated RDMA buffers (r:%p,s:%p) len %d \n",
                        getpid(), rbuf, sbuf, buf_len);
 

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to