static void get_session_record(DEVICE *dev, DEV_RECORD *rec, SESSION_LABEL *sessrec)
{
const char *rtype;
- memset(sessrec, 0, sizeof(sessrec));
+ memset(sessrec, 0, sizeof(SESSION_LABEL));
switch (rec->FileIndex) {
case PRE_LABEL:
rtype = _("Fresh Volume Label");
static void get_session_record(DEVICE *dev, DEV_RECORD *rec, SESSION_LABEL *sessrec)
{
const char *rtype;
- memset(sessrec, 0, sizeof(sessrec));
+ memset(sessrec, 0, sizeof(SESSION_LABEL));
jcr->JobId = 0;
switch (rec->FileIndex) {
case PRE_LABEL:
const char *rtype;
char buf[100];
- memset(sessrec, 0, sizeof(sessrec));
+ memset(sessrec, 0, sizeof(SESSION_LABEL));
switch (rec->FileIndex) {
case PRE_LABEL:
rtype = _("Fresh Volume Label");