diff options
Diffstat (limited to 'usr/src/cmd/sgs/libcrle/common/audit.c')
| -rw-r--r-- | usr/src/cmd/sgs/libcrle/common/audit.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/cmd/sgs/libcrle/common/audit.c b/usr/src/cmd/sgs/libcrle/common/audit.c index a83753ca9e..d5e94d7679 100644 --- a/usr/src/cmd/sgs/libcrle/common/audit.c +++ b/usr/src/cmd/sgs/libcrle/common/audit.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,10 +19,9 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" /* LINTLIBRARY */ @@ -117,7 +115,8 @@ la_objopen(Link_map * lmp, Lmid_t lmid, uintptr_t *cookie) if (auflag == CRLE_AUD_DLDUMP) return (0); - if ((lmid == LM_ID_BASE) && !(FLAGS((Rt_map *)lmp) & FLG_RT_ISMAIN)) { + if ((lmid == LM_ID_BASE) && + !(FLAGS(LINKMAP_TO_RTMAP(lmp)) & FLG_RT_ISMAIN)) { char buffer[PATH_MAX]; (void) snprintf(buffer, PATH_MAX, MSG_ORIG(MSG_AUD_DEPEND), |
