summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/fsys-getroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/fsys-getroot.c b/libdiskfs/fsys-getroot.c
index c60e60a5..2a0ca806 100644
--- a/libdiskfs/fsys-getroot.c
+++ b/libdiskfs/fsys-getroot.c
@@ -38,7 +38,7 @@ diskfs_S_fsys_getroot (fsys_t controlport,
mach_msg_type_name_t *returned_port_poly)
{
struct port_info *pt = ports_check_port_type (controlport, PT_CTL);
- error_t error;
+ error_t error = 0;
mode_t type;
struct protid pseudocred;