From d45ffe9082243377cdba9a2d224bab0e110501e0 Mon Sep 17 00:00:00 2001 From: Zofia Abramowska Date: Tue, 8 Oct 2013 16:24:24 +0200 Subject: [PATCH] Change apply_cipso_cb() to use proper apply_cipso_file() apply_cipso_cb() used improper apply_rules_file(). Changed this to call apply_cipso_file() instead. --- utils/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/common.c b/utils/common.c index 6b0f270..4700821 100644 --- a/utils/common.c +++ b/utils/common.c @@ -186,7 +186,7 @@ static int apply_cipso_cb(const char *fpath, const struct stat *sb, int typeflag if (fd < 0) return -1; - ret = apply_rules_file(fd, 0) ? FTW_STOP : FTW_CONTINUE; + ret = apply_cipso_file(fd) ? FTW_STOP : FTW_CONTINUE; close(fd); return ret; } -- 2.7.4