diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-01-13 07:31:07 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-01-13 07:31:07 +0000 |
commit | 7d8878438669522ec4f1b2007d805f359a8dde57 (patch) | |
tree | f0c9a84a67a360b6a1c4e87cba899b083465bbc2 /gnu | |
parent | ff38654fd8be17d99031d516ee229d83f39aca07 (diff) |
-Wall
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/sudo/sudo/parse.yacc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/sudo/sudo/parse.yacc b/gnu/usr.bin/sudo/sudo/parse.yacc index b9e28d7f292..538c07cc4f4 100644 --- a/gnu/usr.bin/sudo/sudo/parse.yacc +++ b/gnu/usr.bin/sudo/sudo/parse.yacc @@ -1,6 +1,6 @@ %{ -/* $OpenBSD: parse.yacc,v 1.7 1998/01/13 05:30:28 millert Exp $ */ +/* $OpenBSD: parse.yacc,v 1.8 1998/01/13 07:31:06 millert Exp $ */ /* * CU sudo version 1.5.4 * @@ -28,7 +28,7 @@ */ #ifndef lint -static char rcsid[] = "Id: parse.yacc,v 1.103 1998/01/13 04:48:42 millert Exp $"; +static char rcsid[] = "Id: parse.yacc,v 1.104 1998/01/13 07:00:02 millert Exp $"; #endif /* lint */ #include "config.h" @@ -681,13 +681,13 @@ static int add_alias(alias, type) (void) strcpy(ai.name, alias); if (lfind((VOID *)&ai, (VOID *)aliases, &naliases, sizeof(ai), aliascmp) != NULL) { - (void) sprintf(s, "Alias `%.*s' already defined", sizeof(s) - 25, + (void) sprintf(s, "Alias `%.*s' already defined", (int) sizeof(s) - 25, alias); yyerror(s); } else { if (naliases >= nslots && !more_aliases()) { (void) sprintf(s, "Out of memory defining alias `%.*s'", - sizeof(s) - 32, alias); + (int) sizeof(s) - 32, alias); yyerror(s); } @@ -698,7 +698,7 @@ static int add_alias(alias, type) ok = TRUE; } else { (void) sprintf(s, "Aliases corrupted defining alias `%.*s'", - sizeof(s) - 36, alias); + (int) sizeof(s) - 36, alias); yyerror(s); } } |