Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3d114b6

Browse files
committed
Use a constant sprintf format to silence compiler warning
1 parent c79c570 commit 3d114b6

File tree

1 file changed

+1
-1
lines changed
  • src/backend/storage/file

1 file changed

+1
-1
lines changed

src/backend/storage/file/fd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ _dump_lru(void)
562562
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%d ", mru);
563563
}
564564
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "LEAST");
565-
elog(LOG, buf);
565+
elog(LOG, "%s", buf);
566566
}
567567
#endif /* FDDEBUG */
568568

0 commit comments

Comments
 (0)