diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-11-16 13:00:24 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-11-16 13:00:24 +0000 |
commit | b3f9972a859e95cf836c0044c82fcf312afc566e (patch) | |
tree | 8eaad737402f56ae53f6ed57e2b0878830e652eb /lib/fuse_lowlevel.c | |
parent | 666aea72dfafcf8e93d9c781d1d8d3e644bd6949 (diff) | |
download | libfuse-b3f9972a859e95cf836c0044c82fcf312afc566e.tar.gz |
merge FreeBSD stuff
Diffstat (limited to 'lib/fuse_lowlevel.c')
-rw-r--r-- | lib/fuse_lowlevel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index f2ac121..31c2789 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -787,7 +787,7 @@ static void fuse_ll_process(void *data, const char *buf, size_t len, req->ch = ch; if (!f->got_init && in->opcode != FUSE_INIT) - fuse_reply_err(req, EPROTO); + fuse_reply_err(req, EIO); else if (f->allow_root && in->uid != f->owner && in->uid != 0 && in->opcode != FUSE_INIT && in->opcode != FUSE_READ && in->opcode != FUSE_WRITE && in->opcode != FUSE_FSYNC && |