Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/stored/backends/unix_fifo_device.h')
-rw-r--r--core/src/stored/backends/unix_fifo_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/stored/backends/unix_fifo_device.h b/core/src/stored/backends/unix_fifo_device.h
index 6e6d31bbf..078795db7 100644
--- a/core/src/stored/backends/unix_fifo_device.h
+++ b/core/src/stored/backends/unix_fifo_device.h
@@ -2,7 +2,7 @@
BAREOSĀ® - Backup Archiving REcovery Open Sourced
Copyright (C) 2013-2013 Planets Communications B.V.
- Copyright (C) 2013-2021 Bareos GmbH & Co. KG
+ Copyright (C) 2013-2022 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
@@ -40,6 +40,7 @@ class unix_fifo_device : public Device {
~unix_fifo_device() { close(nullptr); }
// Interface from Device
+ SeekMode GetSeekMode() const override { return SeekMode::NOSEEK; }
void OpenDevice(DeviceControlRecord* dcr, DeviceMode omode) override;
bool eod(DeviceControlRecord* dcr) override;
bool MountBackend(DeviceControlRecord* dcr, int timeout) override;