X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fdev.c;h=8d07f4f3b97c1aedf8d73d4509466ef6d8c1efcd;hb=513c2c6cf9c7991273cf3330404575aafae6d8a2;hp=2ff57f807626f8de23edf1317b0b068e2f67791c;hpb=14d509032a2a2c9d274de5eb3656fb33cc30c670;p=bacula%2Fbacula diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index 2ff57f8076..8d07f4f3b9 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -1,8 +1,7 @@ /* Bacula(R) - The Network Backup Solution - Copyright (C) 2000-2015 Kern Sibbald - Copyright (C) 2000-2014 Free Software Foundation Europe e.V. + Copyright (C) 2000-2016 Kern Sibbald The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -249,7 +248,7 @@ DEVICE *m_init_dev(JCR *jcr, DEVRES *device) /* Keep the device ID in the DEVICE struct to identify the hardware */ if (dev->is_file() && stat(dev->archive_name(), &statp) == 0) { dev->devno = statp.st_dev; - } + } /* Sanity check */ if (dev->max_block_size == 0) { @@ -753,7 +752,7 @@ bool DEVICE::close() print_name(), be.bstrerror()); ok = false; } - break; + break; } unmount(1); /* do unmount if required */