2 is more portable than STDERR_FILENO

This commit is contained in:
Tim Kientzle 2008-12-06 05:52:01 +00:00
parent 7f15419bb7
commit a8d0992f23
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185664

View file

@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
static void
errmsg(const char *m)
{
write(STDERR_FILENO, m, strlen(m));
write(2, m, strlen(m));
}
static void