diff --git a/src/buffer.h b/src/buffer.h index 1006bf1d4ca8e120465e4f4b27dbb78b07a86838..4b7dbc2078b5fe4797aca3504f980c673604c62a 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -12,8 +12,8 @@ * Create: 2018-11-08 * Description: provide container buffer definition ******************************************************************************/ -#ifndef LCRD_BUFFER_H -#define LCRD_BUFFER_H +#ifndef LCR_BUFFER_H +#define LCR_BUFFER_H #include #include diff --git a/src/constants.h b/src/constants.h index 95e459100c2885717f46f22b2c9e10100b96e22b..73b3b1611faf4416c87a8e01a74b04c499dbf78a 100644 --- a/src/constants.h +++ b/src/constants.h @@ -13,8 +13,8 @@ * Description: provide constant definition ******************************************************************************/ -#ifndef _LCRD_CONSTANTS_H -#define _LCRD_CONSTANTS_H +#ifndef _LCR_CONSTANTS_H +#define _LCR_CONSTANTS_H /* mode of file and directory */ diff --git a/src/lcrcontainer.h b/src/lcrcontainer.h index f1c4c18ed10f5071d2afc1b3e2f767205a48673b..3f263aa89a2c57a6496a476d0b244dc7afa29432 100644 --- a/src/lcrcontainer.h +++ b/src/lcrcontainer.h @@ -154,7 +154,7 @@ bool lcr_create(const char *name, const char *lcrpath, const char *rootfs, const * param loglevel : log level. * param pidfile : container pidfile path, set to NULL if you don't need. * param daemonize : daemonize the container. - * console_fifos[] : path of the console fifos,[0]:input, [1]:output.used internal by lcrd + * console_fifos[] : path of the console fifos,[0]:input, [1]:output.used internal by iSulad * console_logpath :path of console log file, * set to NULL if want to use the default configure(base on the config file) set to PATH(for example "/home/XX/XX.log"), LXC will save the console to this file diff --git a/src/log.h b/src/log.h index 19d3395e5f3d2921b101b668bb894f2deffeb06f..3581b221f423f1975c86f1c4d757bcb29c14dd5a 100644 --- a/src/log.h +++ b/src/log.h @@ -41,7 +41,7 @@ extern "C" { * */ #define ENGINE_LOG_TIME_SIZE 42 -/* errmsg that defined in lcrc & lcrd */ +/* errmsg that defined in iSulad */ #define DAEMON_ERROR_GRPC_INIT_STR "Init failed" #define DAEMON_ERROR_GRPC_CONNENCT_STR "Can not connect with server.Is the docker dameon running on the host?" #define DAEMON_ERROR_GRPC_SERVER_STR "Server internal error"