=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sort/Attic/tmp.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/sort/Attic/tmp.c 1997/06/16 02:21:57 1.2 +++ src/usr.bin/sort/Attic/tmp.c 2000/06/30 16:00:23 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: tmp.c,v 1.2 1997/06/16 02:21:57 millert Exp $ */ +/* $OpenBSD: tmp.c,v 1.3 2000/06/30 16:00:23 millert Exp $ */ /*- * Copyright (c) 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)tmp.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: tmp.c,v 1.2 1997/06/16 02:21:57 millert Exp $"; +static char rcsid[] = "$OpenBSD: tmp.c,v 1.3 2000/06/30 16:00:23 millert Exp $"; #endif #endif /* not lint */ @@ -75,9 +75,9 @@ sigfillset(&set); (void)sigprocmask(SIG_BLOCK, &set, &oset); if ((fd = mkstemp(path)) < 0) - err(2, path); + err(2, "%s", path); if (!(fp = fdopen(fd, "w+"))) - err(2, path); + err(2, "%s", path); (void)unlink(path); (void)sigprocmask(SIG_SETMASK, &oset, NULL);