X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fbcopy.c;h=9efa2a796503d7b98dee654daa37afe120b821fe;hb=1851f8fe5d47ad31e1041a7457bd139a16d94ccf;hp=36a4a45ce596fa54eeb7745270d7b1638783a44d;hpb=84a05f3bfbde64c606b014d68b45b2d060e2a478;p=bacula%2Fbacula diff --git a/bacula/src/stored/bcopy.c b/bacula/src/stored/bcopy.c index 36a4a45ce5..9efa2a7965 100644 --- a/bacula/src/stored/bcopy.c +++ b/bacula/src/stored/bcopy.c @@ -57,11 +57,11 @@ static void usage() "Usage: bcopy [-d debug_level] \n" " -b bootstrap specify a bootstrap file\n" " -c specify configuration file\n" -" -dnn set debug level to nn\n" +" -d set debug level to nn\n" " -v verbose\n" " -i specify input Volume names (separated by |)\n" " -o specify output Volume names (separated by |)\n" -" -w dir specify working directory (default /tmp)\n" +" -w specify working directory (default /tmp)\n" " -? print this message\n\n")); exit(1); } @@ -254,7 +254,7 @@ static int record_cb(JCR *in_jcr, DEVICE *dev, DEV_BLOCK *block, DEV_RECORD *rec /* Dummies to replace askdir.c */ int dir_get_volume_info(JCR *jcr, enum get_vol_info_rw writing) { return 1;} int dir_find_next_appendable_volume(JCR *jcr) { return 1;} -int dir_update_volume_info(JCR *jcr, VOLUME_CAT_INFO *vol, int relabel) { return 1; } +int dir_update_volume_info(JCR *jcr, DEVICE *dev, int relabel) { return 1; } int dir_create_jobmedia_record(JCR *jcr) { return 1; } int dir_ask_sysop_to_mount_next_volume(JCR *jcr, DEVICE *dev) { return 1; } int dir_update_file_attributes(JCR *jcr, DEV_RECORD *rec) { return 1;}