From d4a9dd82ead3233049784a31dc4798e9dbd9c6ff Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 14 Mar 2013 17:42:24 +0100 Subject: Fix type of underlying_node_stat * main.c (underlying_node_stat): Change type to io_statbuf_t. * unionfs.h: (underlying_node_stat): Likewise. --- main.c | 2 +- unionfs.h | 2 +- 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...) \ -- cgit v1.2.3