*/
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include <errno.h>
s = find_orphaned_snapshot(&sl);
out:
if (s) {
- DSS_INFO_LOG(("reusing %s snapshot %s\n", why, s->name));
+ DSS_NOTICE_LOG(("recycling %s snapshot %s\n", why, s->name));
ret = dss_rename(s->name, new_name);
}
if (ret >= 0)
- DSS_NOTICE_LOG(("creating new snapshot %s\n", new_name));
+ DSS_NOTICE_LOG(("creating %s\n", new_name));
free(new_name);
free_snapshot_list(&sl);
return ret;
* Parse the command line options again, but this time check
* that all required options are given.
*/
- struct cmdline_parser_params params;
params.override = 1;
params.initialize = 1;
params.check_required = 1;