Fix two typos in comments.

This commit is contained in:
Tom Rhodes 2005-04-23 02:20:35 +00:00
parent 3466f35a77
commit 0a5660df88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145432

View file

@ -46,7 +46,7 @@
#include "ugidfw.h"
/*
* Text format for rules: rules contain subjectand object elements, mode.
* Text format for rules: rules contain subject and object elements, mode.
* Each element takes the form "[not] [uid number] [gid number]".
* The total form is "subject [element] object [element] mode [mode]".
* At least * one of a uid or gid entry must be present; both may also be
@ -281,7 +281,7 @@ bsde_parse_identity(int argc, char *argv[],
gid_seen = 0;
gid = 0;
/* First phrase: uid [uid] or gid[gid]. */
/* First phrase: uid [uid] or gid [gid]. */
if (strcmp("uid", argv[current]) == 0) {
if (current + 2 > argc) {
len = snprintf(errstr, buflen, "uid short");