diff options
Diffstat (limited to 'usr/src/cmd/prctl/prctl.c')
-rw-r--r-- | usr/src/cmd/prctl/prctl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/cmd/prctl/prctl.c b/usr/src/cmd/prctl/prctl.c index 006ca6aee5..3b405d2aa7 100644 --- a/usr/src/cmd/prctl/prctl.c +++ b/usr/src/cmd/prctl/prctl.c @@ -18,12 +18,11 @@ * * CDDL HEADER END */ + /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. */ - #include <unistd.h> #include <rctl.h> #include <libproc.h> @@ -223,7 +222,7 @@ main(int argc, char **argv) (void) setlocale(LC_ALL, ""); (void) textdomain(TEXT_DOMAIN); - (void) setprogname(argv[0]); + (void) setpname(argv[0]); while ((opt = getopt(argc, argv, "sPp:Fd:e:i:n:rt:v:x")) != EOF) { |