diff options
author | 2013-11-13 17:53:54 +0000 | |
---|---|---|
committer | 2013-11-13 17:53:54 +0000 | |
commit | 2f2081d8209158d3e81d7837a41890f61c929dc9 (patch) | |
tree | d13dc7681633792bb2bcbac576f54c54429d96c6 | |
parent | Add missing includes. (diff) | |
download | wireguard-openbsd-2f2081d8209158d3e81d7837a41890f61c929dc9.tar.xz wireguard-openbsd-2f2081d8209158d3e81d7837a41890f61c929dc9.zip |
Make fusebuf.fh_err signed, it might store negative errno values; ok syl
-rw-r--r-- | sys/sys/fusebuf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/fusebuf.h b/sys/sys/fusebuf.h index d483837d90b..fc5a0645d2f 100644 --- a/sys/sys/fusebuf.h +++ b/sys/sys/fusebuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fusebuf.h,v 1.6 2013/11/11 14:18:49 stsp Exp $ */ +/* $OpenBSD: fusebuf.h,v 1.7 2013/11/13 17:53:54 stsp Exp $ */ /* * Copyright (c) 2013 Sylvestre Gallon * Copyright (c) 2013 Martin Pieuchot @@ -29,7 +29,7 @@ struct fb_hdr { SIMPLEQ_ENTRY(fusebuf) fh_next; /* next buffer in chain */ size_t fh_len; /* Amount of data */ - uint32_t fh_err; /* Err code to pass back */ + int fh_err; /* errno to pass back */ int fh_type; /* type of data */ ino_t fh_ino; /* Inode of this fusebuf */ uint64_t fh_uuid; /* Uuid to track the answer */ |