Skip to content

Commit

Permalink
Fix printf format string
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Dec 10, 2023
1 parent ef77a16 commit 8b04658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ SEXP clic_get_time(void) {
SEXP clic__find_var(SEXP rho, SEXP symbol) {
SEXP ret = Rf_findVarInFrame3(rho, symbol, TRUE);
if (ret == R_UnboundValue) {
error("Cannot find variable `", PRINTNAME(symbol), "`");
error("Cannot find variable `%s`.", PRINTNAME(symbol));

} else if (TYPEOF(ret) == PROMSXP) {
PROTECT(ret);
Expand Down

0 comments on commit 8b04658

Please sign in to comment.