[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error.c: "Unknown system error" should report errno value
From: |
Paul Eggert |
Subject: |
Re: error.c: "Unknown system error" should report errno value |
Date: |
Mon, 24 Sep 2007 16:34:10 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Martin Koeppe <address@hidden> writes:
> + s = _("Unknown system error");
> + fprintf (stderr, ": %s (errno=%d)", s, errnum);
I like the idea, but that "errno=" grates a bit, as user diagnostics
shouldn't be so low-level. How about this instead?
fprintf (stderr, _(": Unknown system error number %d"), errnum);