Skip to content

Commit

Permalink
Fix compiler error in file provider
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt committed Dec 30, 2019
1 parent 7442f23 commit bffd0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/FileProvider/FileProviderItem.m
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ - (NSFileProviderItemIdentifier)parentItemIdentifier {
if ([parentPath isEqualToString:@"/"])
return NSFileProviderRootContainerItemIdentifier;
struct statbuf stat;
int err = self.fd->mount->fs->stat(self.fd->mount, parentPath.UTF8String, &stat, false);
int err = self.fd->mount->fs->stat(self.fd->mount, parentPath.UTF8String, &stat);
[self handleError:err inFunction:@"stat"];
NSString *parent = [NSString stringWithFormat:@"%lu", (unsigned long) stat.inode];
NSLog(@"parent of %@ is %@", self.path, parent);
Expand Down

0 comments on commit bffd0a3

Please sign in to comment.