summaryrefslogtreecommitdiff
path: root/libstore/zero.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-10-08 18:43:01 +0000
committerMiles Bader <miles@gnu.org>1996-10-08 18:43:01 +0000
commit578b19425dc34df890af80743633da5e36966f84 (patch)
tree8e1a0dd4776c40567642949e1b6f1e873dcbdd60 /libstore/zero.c
parent86e0aa5242483e3d857a4e11fcd46a852b811dc0 (diff)
(store_zero_create):
Set STORE_INNOCUOUS flags.
Diffstat (limited to 'libstore/zero.c')
-rw-r--r--libstore/zero.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libstore/zero.c b/libstore/zero.c
index e0ba5f5e..97d56ab1 100644
--- a/libstore/zero.c
+++ b/libstore/zero.c
@@ -157,6 +157,8 @@ error_t
store_zero_create (size_t size, int flags, struct store **store)
{
struct store_run run = { 0, size };
- *store = _make_store (&store_zero_class, MACH_PORT_NULL, flags, 1, &run, 1, 0);
+ *store =
+ _make_store (&store_zero_class, MACH_PORT_NULL,
+ flags | STORE_INNOCUOUS, 1, &run, 1, 0);
return *store ? 0 : ENOMEM;
}