Skip to content

Commit dd7f8fa

Browse files
author
Tomoaki Nishiyama
committed
%s format string for an integer in an error message was corrected
1 parent 2f48ac4 commit dd7f8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RPostgreSQL/src/RS-pgsql-copy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ RS_PostgreSQL_CopyInDataframe(Con_Handle * conHandle, SEXP x, SEXP nrow, SEXP nc
302302
tmp = EncodeElementSconn(my_connection, levels[j], REAL(xj)[i] - 1,
303303
&rstrbuf, cdec);
304304
}else
305-
error("column %s claims to be a factor but does not have numeric codes", j+1);
305+
error("column %i claims to be a factor but does not have numeric codes", j+1);
306306
} else {
307307
tmp = EncodeElementSconn(my_connection, xj, i,
308308
&rstrbuf, cdec);

0 commit comments

Comments
 (0)