diff options
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c index 186bf9d..2a94427 100644 --- a/src/actions.c +++ b/src/actions.c @@ -11,11 +11,14 @@ #include <limits.h> #include <stdlib.h> +#define COMPONENT "action" + #include "actions.h" #include "actionhelper.h" #include "dblayer.h" #include "ckutil.h" #include "cklist.h" +#include "ckerrlog.h" int run_INIT(UserOpt * opt, Conf *conf) { UNUSED(conf); @@ -48,10 +51,10 @@ int run_ADD(UserOpt * opt, Conf *conf) { case ADD_NO_ERR: break; case ADD_ERR_WRONG_CONFIG: - PRINT_ERR("The config file specified doesn't exist or is a link."); + ERR("The config file specified doesn't exist or is a link."); goto error; case ADD_ERR_WRONG_FLAGS: - PRINT_ERR("Flags are: -s for secret and -p for primary."); + ERR("Flags are: -s for secret and -p for primary."); goto error; } add_print_opts(&addOpt); |