Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2012 21:47:58 +0000 (UTC)
From:      Guy Helmer <ghelmer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r229942 - head/lib/libutil
Message-ID:  <201201102147.q0ALlwIt028844@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ghelmer
Date: Tue Jan 10 21:47:58 2012
New Revision: 229942
URL: http://svn.freebsd.org/changeset/base/229942

Log:
  Style fixes courtesy of pjd.

Modified:
  head/lib/libutil/pidfile.3
  head/lib/libutil/pidfile.c

Modified: head/lib/libutil/pidfile.3
==============================================================================
--- head/lib/libutil/pidfile.3	Tue Jan 10 21:39:43 2012	(r229941)
+++ head/lib/libutil/pidfile.3	Tue Jan 10 21:47:58 2012	(r229942)
@@ -100,7 +100,7 @@ function closes and removes a pidfile.
 .Pp
 The
 .Fn pidfile_fileno
-function returns the file descriptor for the open pid file.
+function returns the file descriptor for the open pidfile.
 .Sh RETURN VALUES
 The
 .Fn pidfile_open
@@ -118,7 +118,9 @@ will be set.
 The
 .Fn pidfile_fileno
 function returns the low-level file descriptor.
-It returns -1 and sets
+It returns
+.Li -1
+and sets
 .Va errno
 if a NULL
 .Vt pidfh

Modified: head/lib/libutil/pidfile.c
==============================================================================
--- head/lib/libutil/pidfile.c	Tue Jan 10 21:39:43 2012	(r229941)
+++ head/lib/libutil/pidfile.c	Tue Jan 10 21:47:58 2012	(r229942)
@@ -270,6 +270,7 @@ pidfile_remove(struct pidfh *pfh)
 int
 pidfile_fileno(struct pidfh *pfh)
 {
+
 	if (pfh == NULL || pfh->pf_fd == -1) {
 		errno = EDOOFUS;
 		return (-1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201102147.q0ALlwIt028844>