X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Frename_many.c;h=719e630e13866318af750b3de86a1c15763845c1;hb=dfe7d2dd2b0d4c0c08faa613f44d2ab1f74c7420;hp=e20b498dccca983678fce2a192a5ab96e07944e7;hpb=e3a7c58aebafce40323db54bf6056029e5af4a70;p=fs%2Flustre-release.git diff --git a/lustre/tests/rename_many.c b/lustre/tests/rename_many.c index e20b498..719e630 100644 --- a/lustre/tests/rename_many.c +++ b/lustre/tests/rename_many.c @@ -15,11 +15,7 @@ * * You should have received a copy of the GNU General Public License * version 2 along with this program; If not, see - * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf - * - * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, - * CA 95054 USA or visit www.sun.com if you need additional information or - * have any questions. + * http://www.gnu.org/licenses/gpl-2.0.html * * GPL HEADER END */ @@ -29,7 +25,6 @@ */ /* * This file is part of Lustre, http://www.lustre.org/ - * Lustre is a trademark of Sun Microsystems, Inc. */ #define PATH_LENGTH 35 @@ -185,7 +180,8 @@ int main(int argc, char *argv[]) return 1; } else if (argv[optind] != NULL) { if (chdir(argv[optind]) < 0) { - sprintf(msg, "chdir '%s'\n", argv[optind]); + snprintf(msg, sizeof(msg), + "chdir '%s'\n", argv[optind]); perror(msg); return 2; }