=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/fsplit/Attic/fsplit.c,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -u -r1.6 -r1.6.2.1 --- src/usr.bin/fsplit/Attic/fsplit.c 2000/01/30 02:28:37 1.6 +++ src/usr.bin/fsplit/Attic/fsplit.c 2000/10/06 21:16:12 1.6.2.1 @@ -1,4 +1,4 @@ -/* $OpenBSD: fsplit.c,v 1.6 2000/01/30 02:28:37 espie Exp $ */ +/* $OpenBSD: fsplit.c,v 1.6.2.1 2000/10/06 21:16:12 jason Exp $ */ /* * Copyright (c) 1983, 1993 @@ -44,7 +44,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)fsplit.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: fsplit.c,v 1.6 2000/01/30 02:28:37 espie Exp $"; +static char rcsid[] = "$OpenBSD: fsplit.c,v 1.6.2.1 2000/10/06 21:16:12 jason Exp $"; #endif /* not lint */ #include @@ -168,12 +168,12 @@ fd = open(x, O_CREAT|O_EXCL|O_RDWR, 0666); if (fd == -1) - err(1, x); + err(1, "%s", x); ofp = fdopen(fd, "w"); if (ofp == NULL) { close(fd); unlink(x); - err(1, x); + err(1, "%s", x); } nflag = 0; rv = 0;