diff options
Diffstat (limited to 'usr/src/cmd/prtdiag/main.c')
-rw-r--r-- | usr/src/cmd/prtdiag/main.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/usr/src/cmd/prtdiag/main.c b/usr/src/cmd/prtdiag/main.c index 6a666c8c7c..8807cde8d9 100644 --- a/usr/src/cmd/prtdiag/main.c +++ b/usr/src/cmd/prtdiag/main.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. @@ -21,8 +20,7 @@ */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved. */ /* @@ -30,8 +28,6 @@ * All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <stdio.h> #include <locale.h> #include <stdlib.h> @@ -43,7 +39,7 @@ extern int do_prominfo(int, char *, int, int); static char * -setprogname(char *name) +setpname(char *name) { char *p; @@ -58,7 +54,7 @@ main(int argc, char *argv[]) { int c; int syserrlog = 0; - char *progname = setprogname(argv[0]); + char *progname = setpname(argv[0]); int print_flag = 1; int logging = 0; |