From 7e0e07ac5ce965cf0506f320acfaee17b6a41968 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 5 Jul 2017 11:44:35 +0000 Subject: [PATCH] void functions don't return 0 From Klemens Nanni --- lib/libc/string/strmode.3 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/libc/string/strmode.3 b/lib/libc/string/strmode.3 index bebda2ca1ce..8135d30ba11 100644 --- a/lib/libc/string/strmode.3 +++ b/lib/libc/string/strmode.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strmode.3,v 1.16 2013/06/05 03:39:23 tedu Exp $ +.\" $OpenBSD: strmode.3,v 1.17 2017/07/05 11:44:35 tb Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)strmode.3 8.3 (Berkeley) 7/28/94 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: July 5 2017 $ .Dt STRMODE 3 .Os .Sh NAME @@ -140,10 +140,6 @@ The last character is a plus sign if there are any alternate or additional access control methods associated with the inode, otherwise it will be a space. -.Sh RETURN VALUES -The -.Fn strmode -function always returns 0. .Sh SEE ALSO .Xr chmod 1 , .Xr find 1 , -- 2.20.1