1
0
mirror of https://github.com/mirror/make.git synced 2025-04-24 20:10:40 +08:00

(strerror): Fix swapped args in sprintf.

This commit is contained in:
Roland McGrath 1995-02-22 03:10:16 +00:00
parent 8f24715a10
commit 514c4bac33

4
misc.c
View File

@ -1,5 +1,5 @@
/* Miscellaneous generic support functions for GNU Make.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@ -260,7 +260,7 @@ strerror (errnum)
if (errno < sys_nerr)
return sys_errlist[errnum];
sprintf ("Unknown error %d", buf, errnum);
sprintf (buf, "Unknown error %d", errnum);
return buf;
}
#endif