Skip to contentSkip to conversation

The error message of "-1" in field checking isnot suit

PATCH Applied Zhang Xiliang 2 participants 2 messages Aug 6, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 The error message of "-1" in field checking isnot suit

Hello Steve,

The error message of "-1" is "-F missing = for ...". The opration isnot only "=".
So I think "F missing opration for" is better.

---
 src/auditctl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
src/auditctl.c +1 -1
index 3958afb..a19bd14 100644
@@ -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;
#1 lore raw
Quoted 1 line · On Wednesday 06 August 2008 04:13:01 Zhang Xiliang wrote:

So I think "F missing opration for" is better.

I changed it to operator. Applied. Thanks for the patch !

-Steve