mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 05:03:17 +00:00
tools: s/strncpy()/strlcpy()/g
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
acb1bd4aed
commit
2ec47d5149
@ -290,6 +290,10 @@ if ENABLE_TOOLS
|
||||
if !HAVE_GETSUBOPT
|
||||
lxc_copy_SOURCES += tools/include/getsubopt.c tools/include/getsubopt.h
|
||||
endif
|
||||
|
||||
if !HAVE_STRLCPY
|
||||
lxc_monitor_SOURCES += ../include/strlcpy.c ../include/strlcpy.h
|
||||
endif
|
||||
endif
|
||||
|
||||
if ENABLE_COMMANDS
|
||||
|
@ -47,6 +47,10 @@
|
||||
#include "arguments.h"
|
||||
#include "tool_utils.h"
|
||||
|
||||
#ifndef HAVE_STRLCPY
|
||||
#include "include/strlcpy.h"
|
||||
#endif
|
||||
|
||||
static bool quit_monitord;
|
||||
|
||||
static int my_parser(struct lxc_arguments* args, int c, char* arg)
|
||||
|
Loading…
Reference in New Issue
Block a user