summaryrefslogtreecommitdiffstats
path: root/src/audit-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audit-init.c')
-rw-r--r--src/audit-init.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/audit-init.c b/src/audit-init.c
index f36fee3..7ecce17 100644
--- a/src/audit-init.c
+++ b/src/audit-init.c
@@ -79,7 +79,7 @@ static int read_config(char *dir)
sprintf(file, "%s/config", dir);
if (-1 == (fd = open(file, O_RDONLY))) {
- perror("open failed");
+ perror("open krava failed");
return -1;
}
@@ -257,6 +257,12 @@ int audit_init(int argc, char **argv, char **env)
lt_sh(&cfg, global_symbols) = lt_sh(&cfg, args_enabled);
PRINT_VERBOSE(&cfg, 1, "global_symbols %d\n", lt_sh(&cfg, global_symbols));
+ {
+ static int krava = 0;
+ printf("krava %p\n", &krava);
+ while (!krava) {}
+ }
+
cfg.init_ok = 1;
return 0;
}