diff options
Diffstat (limited to 'usr/src/cmd/sgs/ld/common/ld.c')
| -rw-r--r-- | usr/src/cmd/sgs/ld/common/ld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/sgs/ld/common/ld.c b/usr/src/cmd/sgs/ld/common/ld.c index d364a001db..4b2cdd706d 100644 --- a/usr/src/cmd/sgs/ld/common/ld.c +++ b/usr/src/cmd/sgs/ld/common/ld.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. + * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -519,7 +519,7 @@ prepend_ldoptions(int *argcp, char ***argvp) */ while (isspace(*ld_options)) ld_options++; - if (*ld_options == '\0') + if (ld_options[0] == '\0') return (0); /* |
