fix example, from bgrayson@ece.utexas.edu (Brian C. Grayson) in [misc/2735]

This commit is contained in:
lukem 1996-11-09 08:41:46 +00:00
parent 5365ba0ce7
commit 64af799db3

View File

@ -1,4 +1,4 @@
.\" $NetBSD: setproctitle.3,v 1.2 1995/02/27 05:50:46 cgd Exp $
.\" $NetBSD: setproctitle.3,v 1.3 1996/11/09 08:41:46 lukem Exp $
.\"
.\" Copyright (c) 1994, 1995 Christopher G. Demetriou
.\" All rights reserved.
@ -60,7 +60,7 @@ setproctitle(NULL);
Set the process title to the program name, an informational string,
and the process id:
.Bd -literal -offset indent
setproctitle("foo! (%s)", getpid());
setproctitle("foo! (%d)", getpid());
.Ed
.Sh SEE ALSO
.Xr ps 1 ,