diff options
author | Nirbhay Choubey <nirbhay.choubey@oracle.com> | 2012-08-07 19:07:13 +0530 |
---|---|---|
committer | Nirbhay Choubey <nirbhay.choubey@oracle.com> | 2012-08-07 19:07:13 +0530 |
commit | fb697972b3481e335bb446448dff3076fdcc4cc3 (patch) | |
tree | 0f759f6310d21c1917beeb39e70765d26fb2e098 /extra | |
parent | 7b343df2891c9c351d1491628ce4df51ded97191 (diff) | |
parent | d4e4538b2de4894f35c556bcaf9baf0a010969a9 (diff) | |
download | mariadb-git-fb697972b3481e335bb446448dff3076fdcc4cc3.tar.gz |
Merge of patch for Bug#13928675 from mysql-5.1.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/perror.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/perror.c b/extra/perror.c index af5d95d3c5b..89a33393aea 100644 --- a/extra/perror.c +++ b/extra/perror.c @@ -1,5 +1,5 @@ /* - Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ #include "../storage/ndb/src/kernel/error/ndbd_exit_codes.c" #include "../storage/ndb/include/mgmapi/mgmapi_error.h" #endif +#include <welcome_copyright_notice.h> /* ORACLE_WELCOME_COPYRIGHT_NOTICE */ static my_bool verbose, print_all_codes; @@ -114,7 +115,7 @@ static void print_version(void) static void usage(void) { print_version(); - puts("This software comes with ABSOLUTELY NO WARRANTY. This is free software,\nand you are welcome to modify and redistribute it under the GPL license\n"); + puts(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000")); printf("Print a description for a system error code or a MySQL error code.\n"); printf("If you want to get the error for a negative error code, you should use\n-- before the first error code to tell perror that there was no more options.\n\n"); printf("Usage: %s [OPTIONS] [ERRORCODE [ERRORCODE...]]\n",my_progname); |