diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-23 03:07:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-23 03:07:23 +0000 |
commit | b2e9efd3fb05b85dc11b3ea795320abfc2e86feb (patch) | |
tree | c4b3addfcfb980cd851b897d097c156230fd7a41 /sbin | |
parent | 66b10192a6c1f61e3bd3d3645bf3178ae7844f41 (diff) |
uid_t and gid_t are unsigned
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index e470fa36cae..41951cad855 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.104 2002/06/20 08:47:58 dhartmei Exp $ */ +/* $OpenBSD: parse.y,v 1.105 2002/06/23 03:07:21 deraadt Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -825,7 +825,7 @@ uid_item : uid { uid : NUMBER { if ($1 < 0 || $1 >= UID_MAX) { - yyerror("illegal uid value %d", $1); + yyerror("illegal uid value %u", $1); YYERROR; } $$ = $1; @@ -893,7 +893,7 @@ gid_item : gid { gid : NUMBER { if ($1 < 0 || $1 >= GID_MAX) { - yyerror("illegal gid value %d", $1); + yyerror("illegal gid value %u", $1); YYERROR; } $$ = $1; |