diff options
author | Roland McGrath <roland@redhat.com> | 1995-02-22 03:10:16 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1995-02-22 03:10:16 +0000 |
commit | 514c4bac336fa726ac1955c92b4e071cf21b4fc8 (patch) | |
tree | 2961487b9ea8c0f6cb6d00ca972cac2106358583 | |
parent | 8f24715a10a77f621a4a9f430769d0971be5deb1 (diff) | |
download | gunmake-514c4bac336fa726ac1955c92b4e071cf21b4fc8.tar.gz |
(strerror): Fix swapped args in sprintf.
-rw-r--r-- | misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |