Fix some typos in manpages
authorJoachim Wiedorn <ad_debian@joonet.de>
Sun, 6 May 2012 08:36:01 +0000 (11:36 +0300)
committerJoachim Wiedorn <ad_debian@joonet.de>
Sun, 6 May 2012 08:36:01 +0000 (11:36 +0300)
Signed-off-by: Joachim Wiedorn <ad_debian@joonet.de>
doc/smack_access_add.3
doc/smack_have_access.3
doc/smackaccess.1

index 3cd92bc..7555c42 100644 (file)
@@ -101,11 +101,11 @@ int apply_rules_file(int fd, int clear)
        int ret = 0;
 
        if (smack_accesses_new(&rules))
-               return -1;
+               return \-1;
 
        if (smack_accesses_add_from_file(rules, fd)) {
                smack_accesses_free(rules);
-               return -1;
+               return \-1;
        }
 
        if (!clear)
index a6a9d1d..e174f24 100644 (file)
@@ -71,12 +71,12 @@ when it is no longer required.
 .BR smack_new_label_from_self ()
 and
 .BR smack_new_label_from_socket ()
-return 0 on success or -1 on error (in which case,
+return 0 on success or \-1 on error (in which case,
 .I errno
 is set appropriately).
 
 .BR smack_have_access ()
-returns 1 if allowed, 0 if no access and -1 on error (in which case,
+returns 1 if allowed, 0 if no access and \-1 on error (in which case,
 .I errno
 is set appropriately).
 .so man3/smack_new_label_from_self.3
index 7d6faa0..4429286 100644 (file)
@@ -19,7 +19,7 @@
 .\" Author:
 .\" Brian McGillion <brian.mcgillion@intel.com>
 .\"
-.TH "SMACKACCESS" "8" "03/05/2012" "smack-utils 1\&.0"
+.TH "SMACKACCESS" "1" "03/05/2012" "smack-utils 1\&.0"
 .SH NAME
 smackaccess \- Determine if a rule is permitted by the current Smack policy
 .SH SYNOPSIS