summaryrefslogtreecommitdiff
path: root/utils/acid
diff options
context:
space:
mode:
Diffstat (limited to 'utils/acid')
-rw-r--r--utils/acid/rdebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/acid/rdebug.c b/utils/acid/rdebug.c
index 8903711e..6a321346 100644
--- a/utils/acid/rdebug.c
+++ b/utils/acid/rdebug.c
@@ -71,7 +71,7 @@ remoteio(int pid, char *file, char *buf, int nb)
if(protodebug)
fprint(2, "remoteio %d: %s\n", pid, file);
- memset(buf, nb, 0);
+ memset(buf, 0, nb);
if(strcmp(file, "proc") == 0)
tag = Tproc;
else if(strcmp(file, "status") == 0)