Commit Graph

1 Commits

Author SHA1 Message Date
Laura Abbott
86e3b7659f Temporarily workaround gcc warning
New gcc, new warnings:

../lib/str_error_r.c: In function ‘str_error_r’:
../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]
   snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d", errnum, buf, buflen, err);
   ^~~~~~~~
cc1: all warnings being treated as errors

Bring in a quick fix for now.
2018-03-14 14:26:51 -07:00