summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-12-10 01:18:07 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-12-10 01:18:07 +0100
commitdd0317e49cf33671da3d6b1b17b12f7fa097756e (patch)
treec7b7dac35a4ba0d3a6801d3e2cfe4a1d41081454
parent6d9b349c4054b5998eea421823f97fb801ff8d75 (diff)
fakeroot: Fix initializing default faked field of nodes
* trans/fakeroot.c (new_node): Initialize faked field to FAKE_DEFAULT.
-rw-r--r--trans/fakeroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index 22759815..a223bc4e 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -103,7 +103,7 @@ new_node (file_t file, mach_port_t idport, int locked, int openmodes,
return err;
}
}
- nn->faked = 0;
+ nn->faked = FAKE_DEFAULT;
if (!locked)
pthread_mutex_lock (&idport_ihash_lock);