summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_sprintf.c b/src/nxt_sprintf.c
index f2e2b414..0b387883 100644
--- a/src/nxt_sprintf.c
+++ b/src/nxt_sprintf.c
@@ -522,7 +522,7 @@ nxt_vsprintf(u_char *buf, u_char *end, const char *fmt, va_list args)
continue;
case 'n':
- *buf++ = NXT_LF;
+ *buf++ = '\n';
fmt++;
continue;