file reorg, pathnames.h, paths.h
[unix-history] / usr / src / usr.bin / rdist / main.c
index 88b5c5f..c707890 100644 (file)
@@ -22,7 +22,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)main.c     5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c     5.4 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "defs.h"
 #endif /* not lint */
 
 #include "defs.h"
@@ -34,7 +34,7 @@ static char sccsid[] = "@(#)main.c    5.3 (Berkeley) %G%";
  */
 
 char   *distfile = NULL;
  */
 
 char   *distfile = NULL;
-char   tmpfile[] = "/tmp/rdistXXXXXX";
+char   tmpfile[] = _PATH_TMP;
 char   *tmpname = &tmpfile[5];
 
 int    debug;          /* debugging flag */
 char   *tmpname = &tmpfile[5];
 
 int    debug;          /* debugging flag */