diff options
| author | Greg Lehey <grog@FreeBSD.org> | 2007-12-30 22:02:50 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 2007-12-30 22:02:50 +0000 |
| commit | cd59b2cd17b77fef9181be6bae96de3173f0c516 (patch) | |
| tree | 4e44c94607c359542cef984d28aa73de57ad0693 | |
| parent | a0db222644285e417cd24c4b8aff1db5594b0ccb (diff) | |
Notes
| -rw-r--r-- | usr.bin/calendar/io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c index 49bfa5329986..6eb39f9a06d5 100644 --- a/usr.bin/calendar/io.c +++ b/usr.bin/calendar/io.c @@ -349,7 +349,8 @@ opencal(void) break; } if (!found) - errx(1, "no calendar file: ``%s''", calendarFile); + errx(1, "can't open calendar file \"%s\": %s (%d)", + calendarFile, strerror (errno), errno); } } if (pipe(pdes) < 0) |
