Skip to content

Commit

Permalink
Fix print format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
stewid committed Dec 13, 2023
1 parent ad2ba4d commit 79b9940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rmatio.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* rmatio, a R interface to the C library matio, MAT File I/O Library.
* Copyright (C) 2013-2019 Stefan Widgren
* Copyright (C) 2013-2023 Stefan Widgren
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -3271,7 +3271,7 @@ SEXP read_mat(const SEXP filename)
Mat_Close(mat);
UNPROTECT(2);
if (err)
Rf_error(err_msg);
Rf_error("%s", err_msg);

return list;
}
Expand Down

0 comments on commit 79b9940

Please sign in to comment.