summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2019-02-11 12:44:06 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2019-02-11 12:44:06 +0000
commitdda64338ab571a14cbc6685090c1013091452263 (patch)
tree95b903e334df28f774348f85335dcf14f32ddbd7 /usr/src/cmd/sgs
parent9ecb333d56db4baf68b07887f9fbd5eae0698d89 (diff)
parent0e73d2e3a5545dcdc7825a3ad646c68a735836dd (diff)
downloadillumos-joyent-dda64338ab571a14cbc6685090c1013091452263.tar.gz
[illumos-gate merge]
commit 0e73d2e3a5545dcdc7825a3ad646c68a735836dd 10131 fmtmsg is bitwise, not streetwise commit 399dcf08ed1dc7e6abf8d7e5dc9447e11047c9f2 10052 "dladm show-ether" should pick one kstat snapshot and stick with it commit 77bcc8e3af50fa7cd2cf404790d694bc29037859 9623 zfs.1m uses wrong snapshot names in Example 15 commit 6062513a89a98a278aea621a2e591ba8df1a8b8e 10142 smatch fix for who commit a90997d2f0a442a8aa8a56cbbbbf577716a18742 10347 git-pbchk requires more python3 fixes commit 1b58875ad7966cf2c85ee8e92f3da04f0a3b2f7a 10100 Illumos is confused about calloc() arguments commit 0bead3cac461a1ad4d49bae1dc8a3be05110aa74 10338 ficl-sys: add gfx primitives commit 0e3b7565e6fd42aa8b3cf5b0c25be52203b47fb1 10340 uts: tem should upport unicode
Diffstat (limited to 'usr/src/cmd/sgs')
-rw-r--r--usr/src/cmd/sgs/librtld_db/common/rtld_db.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/cmd/sgs/librtld_db/common/rtld_db.c b/usr/src/cmd/sgs/librtld_db/common/rtld_db.c
index 53f90f9c60..d863c0f3f4 100644
--- a/usr/src/cmd/sgs/librtld_db/common/rtld_db.c
+++ b/usr/src/cmd/sgs/librtld_db/common/rtld_db.c
@@ -23,8 +23,9 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
+/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
#include <stdlib.h>
#include <stdio.h>
@@ -162,7 +163,7 @@ rd_new(struct ps_prochandle *php)
rd_agent_t *rap;
LOG(ps_plog(MSG_ORIG(MSG_DB_RDNEW), php));
- if ((rap = (rd_agent_t *)calloc(sizeof (rd_agent_t), 1)) == NULL)
+ if ((rap = (rd_agent_t *)calloc(1, sizeof (rd_agent_t))) == NULL)
return (0);
rap->rd_psp = php;