From: deraadt Date: Fri, 20 Sep 1996 07:17:00 +0000 (+0000) Subject: fix example; netbsd pr#2735, bgrayson@ece.utexas.edu X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=df92367130c742d6f59d601443d6645b80cdcd89;p=openbsd fix example; netbsd pr#2735, bgrayson@ece.utexas.edu --- diff --git a/lib/libc/gen/setproctitle.3 b/lib/libc/gen/setproctitle.3 index 161695f4632..a456ed213a9 100644 --- a/lib/libc/gen/setproctitle.3 +++ b/lib/libc/gen/setproctitle.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setproctitle.3,v 1.2 1996/08/19 08:25:57 tholo Exp $ +.\" $OpenBSD: setproctitle.3,v 1.3 1996/09/20 07:17:00 deraadt 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 ,