small duplication errors
There seem to be some small duplication errors during logging in bacula.
src/tools/dbcheck.c
if (fix && lctx1.count > 0) {
printf_tstamp(_("Deleting %lld orphaned MetaEmail records.\n"), lctx1.value);
q = "DELETE FROM MetaEmail WHERE JobId NOT IN (SELECT DISTINCT JobId from Job)";
if (!db_sql_query(db, q, NULL, NULL)) {
printf_tstamp("%s\n", db_strerror(db));
}
}
if (fix && lctx2.count > 0) {
- printf_tstamp(_("Deleting %lld orphaned MetaEmail records.\n"), lctx1.value);
+ printf_tstamp(_("Deleting %lld orphaned MetaEmail records.\n"), lctx2.value);
q = "DELETE FROM MetaAttachment WHERE JobId NOT IN (SELECT DISTINCT JobId from Job)";
if (!db_sql_query(db, q, NULL, NULL)) {
printf_tstamp("%s\n", db_strerror(db));
}
}
src/filed/restore.c
if (non_suppored_acl) {
Jmsg(jcr, M_INFO, 0, _("%d non-supported acl streams ignored.\n"), non_suppored_acl);
}
if (non_suppored_crypto) {
- Jmsg(jcr, M_INFO, 0, _("%d non-supported crypto streams ignored.\n"), non_suppored_acl);
+ Jmsg(jcr, M_INFO, 0, _("%d non-supported crypto streams ignored.\n"), non_suppored_crypto);
}