Skip to content
Snippets Groups Projects
Commit 0ca3acd9 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Kirill Yukhin
Browse files

xlog: xlog_cursor -- use sizeof with snprintf for safety


This is more consistent than relying that array size
will remain PATH_MAX forever.

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 6fcd40ce
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment