]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/msgchan.c
Fix conio.h problem on Solaris
[bacula/bacula] / bacula / src / dird / msgchan.c
index 8b8ee68f298a57784997938e995c09e2404b1ca4..c92f07fb00b837bf8f8031270ccf81452d42bc6e 100644 (file)
@@ -139,10 +139,10 @@ int start_storage_daemon_job(JCR *jcr)
    pool_name = get_pool_memory(PM_NAME);
    pool_type = get_pool_memory(PM_NAME);
    media_type = get_pool_memory(PM_NAME);
-   pm_strcpy(&device_name, storage->dev_name);
-   pm_strcpy(&media_type, storage->media_type);
-   pm_strcpy(&pool_type, jcr->pool->pool_type);
-   pm_strcpy(&pool_name, jcr->pool->hdr.name);
+   pm_strcpy(device_name, storage->dev_name);
+   pm_strcpy(media_type, storage->media_type);
+   pm_strcpy(pool_type, jcr->pool->pool_type);
+   pm_strcpy(pool_name, jcr->pool->hdr.name);
    bash_spaces(device_name);
    bash_spaces(media_type);
    bash_spaces(pool_type);
@@ -151,7 +151,7 @@ int start_storage_daemon_job(JCR *jcr)
    Dmsg1(110, ">stored: %s", sd->msg);
    status = response(jcr, sd, OK_device, "Use Device", NO_DISPLAY);
    if (!status) {
-      pm_strcpy(&pool_type, sd->msg); /* save message */
+      pm_strcpy(pool_type, sd->msg); /* save message */
       Jmsg(jcr, M_FATAL, 0, _("\n"
          "     Storage daemon didn't accept Device \"%s\" because:\n     %s"),
         device_name, pool_type/* sd->msg */);