]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.c
kes Define a machine dependent ioctl request type for use with
[bacula/bacula] / bacula / src / stored / stored.c
index 35424d72a8528498abab898cffb305f60aec2159..71d635ed755490950af44a604aebf644e448d287 100644 (file)
@@ -482,7 +482,7 @@ void *device_initialization(void *arg)
 
    pthread_detach(pthread_self());
    jcr = new_jcr(sizeof(JCR), stored_free_jcr);
-   jcr->JobType = JT_SYSTEM;
+   jcr->set_JobType(JT_SYSTEM);
    /* Initialize FD start condition variable */
    int errstat = pthread_cond_init(&jcr->job_start_wait, NULL);
    if (errstat != 0) {