diff options
author | lulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no> | 2007-11-21 10:16:09 +0100 |
---|---|---|
committer | lulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no> | 2007-11-21 10:16:09 +0100 |
commit | 74d3d5ca1399fdf578778fd72e782079d2a6f5d7 (patch) | |
tree | 894a5542bf25d80022e204480fa0ad14aba33c48 | |
parent | 27d123855524a2c63e9e696539a30513e0e2308c (diff) |
- Do not negate errno values.
-rwxr-xr-x | src/mp3_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mp3_vnops.c b/src/mp3_vnops.c index b9e191a..fbf773c 100755 --- a/src/mp3_vnops.c +++ b/src/mp3_vnops.c @@ -23,7 +23,7 @@ static int mp3_getattr (const char *path, struct stat *stbuf) return 0; } - return -ENOENT; + return ENOENT; } static int mp3_readdir (const char *path, void *buf, fuse_fill_dir_t filler, @@ -44,7 +44,7 @@ static int mp3_open (const char *path, struct fuse_file_info *fi) if (strcmp (path, "/MP3Z") == 0) return 0; - return -ENOENT; + return ENOENT; } static int mp3_read (const char *path, char *buf, size_t size, off_t offset, @@ -55,7 +55,7 @@ static int mp3_read (const char *path, char *buf, size_t size, off_t offset, return 12; } - return -ENOENT; + return ENOENT; } static struct fuse_operations mp3_oper = { |