However, in bucoord/commands.c, bc_VolRestoreCmd(), bc_DiskRestoreCmd(),
bc_VolsetRestoreCmd(), and bc_DumpCmd() were passing '0' as arguments
instead of NULL. Because there is no prototype for bc_StartDmpRst() this
results in a crash on 64-bit Linux. (when running 'volrestore' from an
interactive backup session)
/* Perform the call to start the restore */
code = bc_StartDmpRst(bc_globalConfig, "disk", "restore", volsToRestore,
- /*destserver */ 0, /*destpartition */ 0, fromDate,
+ /*destserver */ NULL, /*destpartition */ 0, fromDate,
newExt, oldFlag,
/*parentDump */ 0, /*dumpLevel */ 0,
bc_Restorer, ports, portCount,