diff --git a/libexec/atrun/atrun.c b/libexec/atrun/atrun.c index 745d11e00337..594107e3d2c1 100644 --- a/libexec/atrun/atrun.c +++ b/libexec/atrun/atrun.c @@ -198,7 +198,7 @@ run_file(const char *filename, uid_t uid, gid_t gid) PRIV_END if (stream == NULL) - perr("cannot open input file"); + perr("cannot open input file %s", filename); if ((fd_in = dup(fileno(stream))) <0) perr("error duplicating input file descriptor");