=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sort/Attic/files.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/sort/Attic/files.c 1997/06/30 05:36:16 1.5 +++ src/usr.bin/sort/Attic/files.c 2000/06/30 16:00:23 1.6 @@ -1,4 +1,4 @@ -/* $OpenBSD: files.c,v 1.5 1997/06/30 05:36:16 millert Exp $ */ +/* $OpenBSD: files.c,v 1.6 2000/06/30 16:00:23 millert Exp $ */ /*- * Copyright (c) 1993 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)files.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: files.c,v 1.5 1997/06/30 05:36:16 millert Exp $"; +static char rcsid[] = "$OpenBSD: files.c,v 1.6 2000/06/30 16:00:23 millert Exp $"; #endif #endif /* not lint */ @@ -157,7 +157,7 @@ if (fileno >= nfiles) return (EOF); if (!(fp = fopen(filelist.names[fileno], "r"))) - err(2, filelist.names[fileno]); + err(2, "%s", filelist.names[fileno]); fileno++; } while ((pos < end) && ((c = getc(fp)) != EOF)) { @@ -225,7 +225,7 @@ return (EOF); dbdesc = fopen(filelist.names[fileno], "r"); if (!dbdesc) - err(2, filelist.names[fileno]); + err(2, "%s", filelist.names[fileno]); fileno++; get = seq; }