=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/fsplit/Attic/fsplit.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/fsplit/Attic/fsplit.c 2000/01/30 02:28:37 1.6 +++ src/usr.bin/fsplit/Attic/fsplit.c 2000/06/30 16:00:13 1.7 @@ -1,4 +1,4 @@ -/* $OpenBSD: fsplit.c,v 1.6 2000/01/30 02:28:37 espie Exp $ */ +/* $OpenBSD: fsplit.c,v 1.7 2000/06/30 16:00:13 millert 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.7 2000/06/30 16:00:13 millert 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;