Eric Blake-1 <[EMAIL PROTECTED]> writes: > + static char const fmt[] = "Unknown error (%d)";
The only improvement I see is to change the string to something like "errno=%d", since it won't be translated to a native language. That's good enough for a substitute function.