372de27df7
Also change the snprintf size to use the full buffer, since snprintf always null-terminates the buffer. Signed-off-by: Martin Storsjö <martin@martin.st>