[ofa-general] [PATCH 1/6] [DAPL v1] fix typo in memset
Patrick Marchand Latifi
patrick.latifi at qlogic.com
Wed Feb 13 14:57:53 PST 2008
Fix typo in memset
Signed-off-by: Patrick Marchand Latifi <patrick.latifi at qlogic.com>
---
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);
More information about the general
mailing list