diff --git a/contrib/rserv/rserv.c b/contrib/rserv/rserv.c index be957a34549..517289dc1cc 100644 --- a/contrib/rserv/rserv.c +++ b/contrib/rserv/rserv.c @@ -102,7 +102,7 @@ _rserv_log_() if (keynum == ObjectIdAttributeNumber) { - snprintf(oidbuf, "%u", sizeof(oidbuf), HeapTupleGetOid(tuple)); + snprintf(oidbuf, sizeof(oidbuf), "%u", HeapTupleGetOid(tuple)); key = oidbuf; } else