From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhang Xiliang Subject: [PATCH 2/5] The error message of "-1" in field checking isnot suit Date: Wed, 06 Aug 2008 16:13:01 +0800 Message-ID: <48995D0D.8090208@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Steve Grubb , Linux Audit List-Id: linux-audit@redhat.com Hello Steve, The error message of "-1" is "-F missing = for ...". The opration isnot only "=". So I think "F missing opration for" is better. Signed-off-by: Zhang Xiliang --- src/auditctl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/auditctl.c b/src/auditctl.c index 3958afb..a19bd14 100644 --- a/src/auditctl.c +++ b/src/auditctl.c @@ -747,7 +747,7 @@ static int setopt(int count, char *vars[]) audit_permadded = 1; break; case -1: - fprintf(stderr, "-F missing = for %s\n", + fprintf(stderr, "-F missing opration for %s\n", optarg); retval = -1; break;