summaryrefslogtreecommitdiffstats
path: root/lib/libdtrace/common/dt_cc.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-06-18 17:11:24 +0000
committerjhb <jhb@FreeBSD.org>2009-06-18 17:11:24 +0000
commit8e9eed3498e89e18499b64d123f534fd2a45dc1c (patch)
tree328d619f9d104e840001f5914d066622451ecc47 /lib/libdtrace/common/dt_cc.c
parentd35f41a58a07c7376a2ef17514741fad92f34f71 (diff)
downloadFreeBSD-src-8e9eed3498e89e18499b64d123f534fd2a45dc1c.zip
FreeBSD-src-8e9eed3498e89e18499b64d123f534fd2a45dc1c.tar.gz
Import newer versions of these files from a 20080410 checkout of
OpenSolaris. Our local diffs to these files in HEAD already contain all these changes (and in fact seem to be based on these versions of the files). It seems the vendor branch just has older versions somehow.
Diffstat (limited to 'lib/libdtrace/common/dt_cc.c')
-rw-r--r--lib/libdtrace/common/dt_cc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libdtrace/common/dt_cc.c b/lib/libdtrace/common/dt_cc.c
index 64b2922..575fb9c 100644
--- a/lib/libdtrace/common/dt_cc.c
+++ b/lib/libdtrace/common/dt_cc.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -2010,8 +2010,10 @@ dt_load_libs_dir(dtrace_hdl_t *dtp, const char *path)
dt_dprintf("skipping library %s: %s\n",
dld->dtld_library,
dtrace_errmsg(dtp, dtrace_errno(dtp)));
- } else
+ } else {
+ dld->dtld_loaded = B_TRUE;
dt_program_destroy(dtp, pgp);
+ }
}
dt_lib_depend_free(dtp);
OpenPOWER on IntegriCloud