summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.i>2013-03-14 17:42:24 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-03-15 02:19:30 +0100
commitd4a9dd82ead3233049784a31dc4798e9dbd9c6ff (patch)
tree46c7ceda26bdd562275ec85178b11702fa399084
parent2961fbd036c40e8390b4af3b6f7d570d6945c86c (diff)
Fix type of underlying_node_stat
* main.c (underlying_node_stat): Change type to io_statbuf_t. * unionfs.h: (underlying_node_stat): Likewise.
-rw-r--r--main.c2
-rw-r--r--unionfs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index c33b065..69a73df 100644
--- a/main.c
+++ b/main.c
@@ -53,7 +53,7 @@ pid_t fsid;
mach_port_t underlying_node;
/* stat information for the underlying node. */
-struct stat underlying_node_stat;
+io_statbuf_t underlying_node_stat;
/* Mapped time, used for updating node information. */
volatile struct mapped_time_value *maptime;
diff --git a/unionfs.h b/unionfs.h
index 8f5a087..6796752 100644
--- a/unionfs.h
+++ b/unionfs.h
@@ -76,7 +76,7 @@ extern volatile struct mapped_time_value *maptime;
extern mach_port_t underlying_node;
/* stat information for the underlying node. */
-extern struct stat underlying_node_stat;
+extern io_statbuf_t underlying_node_stat;
/* Send a debugging message, if unionfs is in debugging mode. */
#define debug_msg(fmt, args...) \