summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-20 07:17:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-20 07:17:01 +0000
commit9bc73993139fa65aa5206524e371b6a82d2935cd (patch)
tree6ed71e55ac125300839015c4dfea39a38750026a /lib/libc/gen
parentdae6a43db5f21705198a4fcabb1b7f0d6499d94d (diff)
fix example; netbsd pr#2735, bgrayson@ece.utexas.edu
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/setproctitle.34
1 files changed, 2 insertions, 2 deletions
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 ,