Fix journal debugging print. - sam - An updated version of the sam text editor. | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 325249e222b526a5b95e6bde00d2a8eb035d441b | |
parent 4fc20405021028c8d1354b9a7502edb981f5611d | |
Author: Rob King <[email protected]> | |
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(-) | |
--- | |
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 |