summaryrefslogtreecommitdiffstats
path: root/src/dirpart.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-24 08:51:48 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-24 08:51:48 +0200
commit4553df104b3e240e3acfb97c954e615205fcd7c6 (patch)
tree01aa58ebdf3b0aa86251fd6d0989e9500979eba5 /src/dirpart.c
parenteb3b555b50e2c82f67559472bdf0a1d54325550f (diff)
Fix dir_partition_exfat_init() return value
Diffstat (limited to 'src/dirpart.c')
-rw-r--r--src/dirpart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirpart.c b/src/dirpart.c
index 7dabfa4..d7ef19b 100644
--- a/src/dirpart.c
+++ b/src/dirpart.c
@@ -88,7 +88,7 @@ static dir_partition_t dir_partition_init(disk_t *disk, const partition_t *parti
case UP_EXFAT:
return dir_partition_exfat_init(disk, partition, dir_data, verbose);
default:
- return DIR_PART_ENOSYS;
+ return res;
}
}