diff options
author | gjb <gjb@FreeBSD.org> | 2016-04-13 02:04:09 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-04-13 02:04:09 +0000 |
commit | cad5e8d3bce52708ae6b253a4427d56b4befd46c (patch) | |
tree | 92bbcf5b84bdd150282eaf6ec82e328e0e517eca /lib/libc | |
parent | 2d6ac6ea572ca93a1ff4e32936214246cc9b2551 (diff) | |
parent | 5c3b3f706fae5bed563c4681b89e06b1a2860417 (diff) | |
download | FreeBSD-src-cad5e8d3bce52708ae6b253a4427d56b4befd46c.zip FreeBSD-src-cad5e8d3bce52708ae6b253a4427d56b4befd46c.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/setproctitle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/setproctitle.c b/lib/libc/gen/setproctitle.c index 9dff328..2cde895 100644 --- a/lib/libc/gen/setproctitle.c +++ b/lib/libc/gen/setproctitle.c @@ -134,7 +134,7 @@ setproctitle(const char *fmt, ...) len = sizeof(ul_ps_strings); if (sysctlbyname("kern.ps_strings", &ul_ps_strings, &len, NULL, 0) == -1) - ul_ps_strings = PS_STRINGS; + return; ps_strings = (struct ps_strings *)ul_ps_strings; } |