Author | Jamozed <[email protected]> |
Date | 2020-08-14 04:46:44 |
Commit | d62f973d924f502f99e973fc207d0575d590bb5e |
Parent | b7dd67b598f9411364e94b1d504f1473e64a6586 |
logname: Update manpage formatting
Diffstat
M | man/logname.1 | | | 11 | +++-------- |
M | src/logname.c | | | 2 | +- |
2 files changed, 4 insertions, 9 deletions
diff --git a/man/logname.1 b/man/logname.1 index 91b23bb..4a227b4 100644 --- a/man/logname.1 +++ b/man/logname.1 @@ -1,4 +1,4 @@ -.TH LOGNAME 1 2020-06-26 "OMKOV coreutils" "General Commands Manual" +.TH LOGNAME 1 2020-08-14 "OMKOV coreutils" "General Commands Manual" .SH NAME logname \(em return the user's login name .SH SYNOPSYS @@ -7,15 +7,10 @@ logname \(em return the user's login name Print the user's login name to standard output. .SH EXIT STATUS The following exit values will be returned: -.TP -\ 0 +.IP "\ 0" 8 Successful completion. -.TP ->0 +.IP ">0" 8 An error occurred. -.SH STANDARDS -The \fIlogname\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2") -specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling diff --git a/src/logname.c b/src/logname.c index 5e5bb86..83a90a1 100644 --- a/src/logname.c +++ b/src/logname.c @@ -17,7 +17,7 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. */ -#include <error.h> +#include "lib/error.h" #include <unistd.h>