Skip to content

Commit e778e23

Browse files
authored
Merge pull request #317 from cse-sim/use-standard-function
Change _snprintf for snprintf
2 parents bf4b972 + d3c0451 commit e778e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ RC rerIV( // inner fcn to issue runtime error message; msg handle ok for fmt; t
15211521
// era here controls reporting of errors in msgI only.
15221522
// assemble complete text
15231523
char whole[920];
1524-
_snprintf( whole, sizeof( whole)-1, "%s:\n %s", when, cmsg );
1524+
snprintf( whole, sizeof( whole)-1, "%s:\n %s", when, cmsg );
15251525

15261526
// output message to err file and/or screen, increment error count.
15271527
return errI( // central message issuer, rmkerr.cpp. returns RCBAD for convenience.

0 commit comments

Comments
 (0)