projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c79c570
)
Use a constant sprintf format to silence compiler warning
author
Alvaro Herrera
<
[email protected]
>
Fri, 10 Jun 2011 17:37:06 +0000
(13:37 -0400)
committer
Alvaro Herrera
<
[email protected]
>
Fri, 10 Jun 2011 17:38:50 +0000
(13:38 -0400)
src/backend/storage/file/fd.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/file/fd.c
b/src/backend/storage/file/fd.c
index 11bab38280e4049a09d4289004dc687b914ef8e5..387092724d26d3b0665939f9973634c416462e59 100644
(file)
--- a/
src/backend/storage/file/fd.c
+++ b/
src/backend/storage/file/fd.c
@@
-562,7
+562,7
@@
_dump_lru(void)
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%d ", mru);
}
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "LEAST");
- elog(LOG, buf);
+ elog(LOG,
"%s",
buf);
}
#endif /* FDDEBUG */