Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/tests/dev/md/h_mdserv.c,v rcsdiff: /ftp/cvs/cvsroot/src/tests/dev/md/h_mdserv.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- src/tests/dev/md/h_mdserv.c 2010/11/30 14:31:14 1.3 +++ src/tests/dev/md/h_mdserv.c 2011/02/10 13:29:02 1.4 @@ -1,4 +1,4 @@ -/* $NetBSD: h_mdserv.c,v 1.3 2010/11/30 14:31:14 pooka Exp $ */ +/* $NetBSD: h_mdserv.c,v 1.4 2011/02/10 13:29:02 pooka Exp $ */ #include #include @@ -70,7 +70,7 @@ main(int argc, char *argv[]) if (argc != 2) exit(1); - md.md_addr = malloc(MDSIZE); + md.md_addr = calloc(1, MDSIZE); md.md_size = MDSIZE; md.md_type = MD_UMEM_SERVER;