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:
Cyrill Gorcunov <gorcunov@gmail.com>
Loading
Please register or sign in to comment
This is more consistent than relying that array size
will remain PATH_MAX forever.
Signed-off-by:
Cyrill Gorcunov <gorcunov@gmail.com>