diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/sup/src/sup.h | 4 | ||||
-rw-r--r-- | usr.bin/sup/src/supcmeat.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/sup/src/sup.h b/usr.bin/sup/src/sup.h index e44d5d39059..33e26e7a531 100644 --- a/usr.bin/sup/src/sup.h +++ b/usr.bin/sup/src/sup.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sup.h,v 1.3 1997/04/01 07:35:29 todd Exp $ */ +/* $OpenBSD: sup.h,v 1.4 1997/07/28 09:47:36 deraadt Exp $ */ /* * Copyright (c) 1992 Carnegie Mellon University @@ -115,7 +115,7 @@ extern char scmversion[]; /* string version of scm */ #define FILEBKDIR "%s/BACKUP" #define FILEBACKUP "%s/BACKUP/%s" #define FILELAST "sup/%s/last%s" -#define FILELASTTEMP "sup/%s/last.temp" +#define FILELASTTEMP "sup/%s/last.temp%s" #define FILELOCK "sup/%s/lock" /* also supfilesrv */ #define FILEREFUSE "sup/%s/refuse" #define FILEWHEN "sup/%s/when%s" diff --git a/usr.bin/sup/src/supcmeat.c b/usr.bin/sup/src/supcmeat.c index 550919b8c66..8701fec5f43 100644 --- a/usr.bin/sup/src/supcmeat.c +++ b/usr.bin/sup/src/supcmeat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: supcmeat.c,v 1.5 1997/04/01 07:35:33 todd Exp $ */ +/* $OpenBSD: supcmeat.c,v 1.6 1997/07/28 09:47:38 deraadt Exp $ */ /* * Copyright (c) 1992 Carnegie Mellon University @@ -1311,7 +1311,7 @@ int x; done (FDONESUCCESS,"Success"); (void) requestend (); } - (void) sprintf (tname,FILELASTTEMP,collname); + (void) sprintf (tname,FILELASTTEMP,collname,relsufix); finishfile = fopen (tname,"w"); if (finishfile == NULL) { notify ("SUP: Can't record list of all files in %s\n",tname); |