summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/setproctitle.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-10-01 02:32:07 +0000
committerguenther <guenther@openbsd.org>2015-10-01 02:32:07 +0000
commit9d9553bd2d73b47a1e6c954c7538bf7cd6b06ea5 (patch)
tree022c8bf1714eee5427f8033ca0d81a992629f7aa /lib/libc/gen/setproctitle.c
parentrename the internal functions that do ml_foo ops on classes to hfsc_cl_foo. (diff)
downloadwireguard-openbsd-9d9553bd2d73b47a1e6c954c7538bf7cd6b06ea5.tar.xz
wireguard-openbsd-9d9553bd2d73b47a1e6c954c7538bf7cd6b06ea5.zip
Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one
case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings ok deraadt@
Diffstat (limited to 'lib/libc/gen/setproctitle.c')
-rw-r--r--lib/libc/gen/setproctitle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/gen/setproctitle.c b/lib/libc/gen/setproctitle.c
index 96a80e17482..cf179fd7898 100644
--- a/lib/libc/gen/setproctitle.c
+++ b/lib/libc/gen/setproctitle.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setproctitle.c,v 1.13 2015/01/16 16:48:51 deraadt Exp $ */
+/* $OpenBSD: setproctitle.c,v 1.14 2015/10/01 02:32:07 guenther Exp $ */
/*
* Copyright (c) 1994, 1995 Christopher G. Demetriou
* All rights reserved.
@@ -43,7 +43,6 @@
extern char *__progname; /* Program name, from crt0. */
-/* PRINTFLIKE1 */
void
setproctitle(const char *fmt, ...)
{