Skip to content

Commit

Permalink
Fix warning compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
svniemeijer committed Jul 29, 2024
1 parent e25847e commit d303699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/harp.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static SEXP rharp_named_element(SEXP l, const char *name)
/* report errors to R */
static void rharp_error()
{
error(harp_errno_to_string(harp_errno));
error("%s", harp_errno_to_string(harp_errno));
}

static void rharp_var_error(const char *varname)
Expand Down

0 comments on commit d303699

Please sign in to comment.