From: Martin Simmons Date: Thu, 7 Aug 2014 07:58:35 +0000 (+0200) Subject: Fix bug #2091 bad vtape device definitions X-Git-Tag: Release-7.2.0~140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aaa2e0f2a970e7c37b6996fda7f643e9dbbf8e80;p=bacula%2Fbacula Fix bug #2091 bad vtape device definitions --- diff --git a/bacula/src/stored/vtape_dev.h b/bacula/src/stored/vtape_dev.h index 98c09400d0..b5aa36b1b0 100644 --- a/bacula/src/stored/vtape_dev.h +++ b/bacula/src/stored/vtape_dev.h @@ -105,8 +105,8 @@ public: class vtape: public DEVICE { public: int d_open(const char *pathname, int flags) { return -1; } - ssize_t d_read(void *buffer, size_t count) { return -1; } - ssize_t d_write(const void *buffer, size_t count) { return -1; } + ssize_t d_read(int fd, void *buffer, size_t count) { return -1; } + ssize_t d_write(int fd, const void *buffer, size_t count) { return -1; } int d_close(int) { return -1; } int d_ioctl(int fd, ioctl_req_t request, char *mt=NULL) { return -1; } boffset_t lseek(DCR *dcr, off_t offset, int whence) { return -1; }