summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-02-22 03:10:16 +0000
committerRoland McGrath <roland@redhat.com>1995-02-22 03:10:16 +0000
commit514c4bac336fa726ac1955c92b4e071cf21b4fc8 (patch)
tree2961487b9ea8c0f6cb6d00ca972cac2106358583 /misc.c
parent8f24715a10a77f621a4a9f430769d0971be5deb1 (diff)
downloadgunmake-514c4bac336fa726ac1955c92b4e071cf21b4fc8.tar.gz
(strerror): Fix swapped args in sprintf.
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index b9e76b9..886cdf3 100644
--- a/misc.c
+++ b/misc.c
@@ -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