Master process data are initialized to zero.
authorStefan Weiser <ch1010858@ch10pc475>
Wed, 05 May 2010 12:59:17 +0200
changeset 1985 6b353d9e0473
parent 1984 02c8728bf9e4
child 1988 ea38efeeb7b3
Master process data are initialized to zero.
lib/master.c
--- a/lib/master.c	Mon May 03 10:21:23 2010 +0200
+++ b/lib/master.c	Wed May 05 12:59:17 2010 +0200
@@ -381,7 +381,7 @@
         }
 
         // Access the mapped region to cause the initial page fault
-        printf("pd: %x\n", master->process_data[0]);
+        memset(master->process_data, 0, master->process_data_size);
     }
 
     return 0;