From aaa2e0f2a970e7c37b6996fda7f643e9dbbf8e80 Mon Sep 17 00:00:00 2001 From: Martin Simmons Date: Thu, 7 Aug 2014 09:58:35 +0200 Subject: [PATCH] Fix bug #2091 bad vtape device definitions --- bacula/src/stored/vtape_dev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5