diff --git a/usr.sbin/ac/ac.8 b/usr.sbin/ac/ac.8 index e1514f0f67a..341226a6888 100644 --- a/usr.sbin/ac/ac.8 +++ b/usr.sbin/ac/ac.8 @@ -28,7 +28,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: ac.8,v 1.9 1997/02/22 16:01:10 peter Exp $ .\" .Dd March 15, 1994 .Dt AC 8 @@ -89,7 +89,7 @@ Display totals for the given individuals only. .El .Pp If no arguments are given, -.Nm ac +.Nm displays the total connect time for all accounts with login sessions recorded in .Pa wtmp . @@ -119,7 +119,7 @@ to be charged out at a different rate than .Pa other . .Pp The -.Nm ac +.Nm utility exits 0 on success, and >0 if a fatal error occurs. .Sh FILES .Bl -tag -width /var/log/wtmp.[0-7] -compact diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c index ab4da9aa8ea..f59cf3762fe 100644 --- a/usr.sbin/ac/ac.c +++ b/usr.sbin/ac/ac.c @@ -14,21 +14,22 @@ */ #ifndef lint -static char rcsid[] = "$Id: ac.c,v 1.6 1997/02/22 16:01:11 peter Exp $"; -#endif +static const char rcsid[] = + "$Id$"; +#endif /* not lint */ #include #include #include #include #include +#include #include #include #include #include -#include #include -#include +#include /* * this is for our list of currently logged in sessions