sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit dbbac61fc4e83bb9abe22e91d6ab2c4c3d1b605e
parent 71154d42aa8909854d3f292dcfc49da5c915a207
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 20 Feb 2020 21:41:29 -0800

sed: Include filename in error message

Diffstat:
Msed.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sed.c b/sed.c @@ -1128,7 +1128,7 @@ next_file(void) file = stdin; } else if (!(file = fopen(*files, "r"))) { /* warn this file didn't open, but move on to next */ - weprintf("fopen:"); + weprintf("fopen %s:", *files); ret = 1; } files++;