git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
afs: afs_osi_Read/Write returns negative on error
[openafs.git]
/
src
/
afs
/
HPUX
/
osi_file.c
diff --git
a/src/afs/HPUX/osi_file.c
b/src/afs/HPUX/osi_file.c
index
1bba21f
..
2afe1da
100644
(file)
--- a/
src/afs/HPUX/osi_file.c
+++ b/
src/afs/HPUX/osi_file.c
@@
-150,7
+150,7
@@
afs_osi_Read(struct osi_file *afile, int offset, void *aptr,
if (!afs_shuttingdown)
osi_Panic("osi_Read called with null param");
else
- return EIO;
+ return -EIO;
}
if (offset != -1)