Fix journal debugging print. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 325249e222b526a5b95e6bde00d2a8eb035d441b
(DIR) parent 4fc20405021028c8d1354b9a7502edb981f5611d
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Tue, 4 Oct 2016 22:56:21 -0500
Fix journal debugging print.
Diffstat:
sam/mesg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/sam/mesg.c b/sam/mesg.c
@@ -88,7 +88,7 @@ void
journaln(int out, int64_t n)
{
char buf[32];
- snprintf(buf, sizeof(buf) - 1, PRId64, n);
+ snprintf(buf, sizeof(buf) - 1, "%" PRId64, n);
journal(out, buf);
}
#else