diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-11-20 17:01:39 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-11-20 17:01:39 +0100 |
commit | f67baf4ff50865c06859c2f7164abbb5c6effeec (patch) | |
tree | e8d102d3d15c725b39c355276b248ef47e00f8dc /stubdom | |
parent | a6254d1dba22962b08d056a54c5377b9b0e43689 (diff) | |
download | xen-f67baf4ff50865c06859c2f7164abbb5c6effeec.tar.gz xen-f67baf4ff50865c06859c2f7164abbb5c6effeec.tar.bz2 xen-f67baf4ff50865c06859c2f7164abbb5c6effeec.zip |
xenpaging: simplify file_op
Catch lseek() errors.
Use -1 as return value and let caller read errno.
Remove const casts from buffer pointers, the page is writeable.
Use wrapper for write() which matches the read() prototype.
Remove unused stdarg.h inclusion.
Remove unused macro.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'stubdom')
0 files changed, 0 insertions, 0 deletions