#include "sendbackup.h"
#include "getfsent.h"
#include "clock.h"
-#include "version.h"
#define LEAF_AND_DIRS "sed -e \'\ns/^leaf[ \t]*[0-9]*[ \t]*\\.//\nt\n/^dir[ \t]/ {\ns/^dir[ \t]*[0-9]*[ \t]*\\.//\ns%$%/%\nt\n}\nd\n\'"
char *encryptopt = skip_argument;
char *qdisk;
char *config;
+ level_t *alevel = (level_t *)dle->levellist->data;
+ int level = alevel->level;
- g_snprintf(level_str, SIZEOF(level_str), "%d", GPOINTER_TO_INT(dle->level->data));
+ g_snprintf(level_str, SIZEOF(level_str), "%d", level);
qdisk = quote_string(dle->disk);
- dbprintf(_("start: %s:%s lev %d\n"), host, qdisk, GPOINTER_TO_INT(dle->level->data));
+ dbprintf(_("start: %s:%s lev %d\n"), host, qdisk, level);
g_fprintf(stderr, _("%s: start [%s:%s level %d]\n"),
- get_pname(), host, qdisk, GPOINTER_TO_INT(dle->level->data));
+ get_pname(), host, qdisk, level);
amfree(qdisk);
/* apply client-side encryption here */
dbprintf(_("dumping device '%s' with '%s'\n"), device, fstype);
#if defined(USE_RUNDUMP) || !defined(DUMP)
- cmd = vstralloc(amlibexecdir, "/", "rundump", versionsuffix(), NULL);
+ cmd = vstralloc(amlibexecdir, "/", "rundump", NULL);
cmdX = cmd;
if (g_options->config)
config = g_options->config;
#endif /* } */
{
char *progname = cmd = newvstralloc(cmd, amlibexecdir, "/", "rundump",
- versionsuffix(), NULL);
+ NULL);
cmdX = cmd;
if (g_options->config)
config = g_options->config;
{
#ifdef USE_RUNDUMP
char *progname = cmd = newvstralloc(cmd, amlibexecdir, "/", "rundump",
- versionsuffix(), NULL);
+ NULL);
cmdX = cmd;
if (g_options->config)
config = g_options->config;
if (1)
#endif
{
- cmd = newvstralloc(cmd, amlibexecdir, "/", "rundump",
- versionsuffix(), NULL);
+ cmd = newvstralloc(cmd, amlibexecdir, "/", "rundump", NULL);
cmdX = cmd;
if (g_options->config)
config = g_options->config;