- MFH Revert back to sprintf (we could define snprintf for windows but we don't)

This commit is contained in:
Marcus Boerger 2007-03-06 00:56:42 +00:00
parent ff3e825083
commit 03bccc1b15

View File

@ -76,7 +76,7 @@ regerror(int posix_ecode, const regex_t* reg, char* buf, size_t size)
s = "";
}
else {
snprintf(tbuf, sizeof(tbuf), "undefined error code (%d)", posix_ecode);
sprintf(tbuf, sizeof(tbuf), "undefined error code (%d)", posix_ecode);
s = tbuf;
}