Merge branch 'upstream'
[debian/amanda] / server-src / amlabel.c
index 0eda70b62afdc5bd3f45c7f7b6a2424be322ae78..651e6b6ec4d91bc007c689390d514758084dded9 100644 (file)
@@ -105,6 +105,8 @@ main(
     /* Don't die when child closes pipe */
     signal(SIGPIPE, SIG_IGN);
 
+    malloc_size_1 = malloc_inuse(&malloc_hist_1);
+
     erroutput_type = ERR_INTERACTIVE;
 
     cfg_ovr = extract_commandline_config_overwrites(&argc, &argv);
@@ -178,6 +180,8 @@ main(
            error(_("could not load slot \"%s\": %s"), slotstr, changer_resultstr);
            /*NOTREACHED*/
        }
+    }
+#endif /* HAVE_LINUX_ZFTAPE_H */
 
        g_printf(_("labeling tape in slot %s (%s):\n"), outslot, tapename);
     }