summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-07-30 23:05:38 -0700
committerGravatar Matt Colyer2008-07-30 23:05:38 -0700
commita5c2119e51f2d81be80fac08771f8ea50761661c (patch)
treea3aa1ba895edbf99dde3586b7b7e1b91fe5d09ca /src
parentc9adedcc6ebd6e18572f794564b76d2080c1bd1c (diff)
downloadlibimobiledevice-a5c2119e51f2d81be80fac08771f8ea50761661c.tar.gz
libimobiledevice-a5c2119e51f2d81be80fac08771f8ea50761661c.tar.bz2
Fixed a return that was supposed to be there (thanks to Martin who pointed it out).
Diffstat (limited to 'src')
-rw-r--r--src/ifuse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index 1cfa48d..93467b3 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -31,6 +31,7 @@ static int ifuse_getattr(const char *path, struct stat *stbuf) {
file = afc_get_file_info(afc, path);
if (!file){
res = -ENOENT;
+ return res;
}
stbuf->st_mode = file->type | 0444;