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