From: Barry Naujok Date: Tue, 25 Nov 2008 03:09:43 +0000 (+0000) Subject: Change mode string variable declaration X-Git-Tag: v1.1.0~346 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=20167de5d0bbe41cc3ce617edd1cae4a4af18c41;p=xfstests-dev.git Change mode string variable declaration Merge of master-melb:xfs-cmds:32533a by kenmcd. Change mode string variable declaration --- diff --git a/src/lstat64.c b/src/lstat64.c index 59b92c50..3b68c66b 100644 --- a/src/lstat64.c +++ b/src/lstat64.c @@ -77,7 +77,7 @@ main(int argc, char **argv) time(&timebuf); for (i = optind; i < argc; i++) { - char *mode = "----------"; + char mode[] = "----------"; if( lstat64(argv[i], &sbuf) < 0) { perror(argv[i]);