]> diplodocus.org Git - nmh/blobdiff - uip/forwsbr.c
Replaced boilerplate at beginning of each nmh program with new
[nmh] / uip / forwsbr.c
index 48fecb179a6b05f50463e004bf499c2988ff435c..90838e2418dffd06a803c78111067bc040ea2d96 100644 (file)
@@ -174,7 +174,9 @@ finished:
     }
 
     cp = m_mktemp2(NULL, invo_name, NULL, &tmp);
-    if (cp == NULL) adios("forw", "unable to create temporary file");
+    if (cp == NULL) {
+       adios(NULL, "unable to create temporary file in %s", get_temp_dir());
+    }
     strncpy (tmpfil, cp, sizeof(tmpfil));
     unlink (tmpfil);
     if ((in = dup (fileno (tmp))) == NOTOK)