Whamcloud - gitweb
b=21434
[fs/lustre-release.git] / lustre / utils / llverfs.c
index f8b80a5..3f65d55 100644 (file)
@@ -16,8 +16,8 @@
  * in the LICENSE file that accompanied this code).
  *
  * You should have received a copy of the GNU General Public License
- * version 2 along with this program; If not, see [sun.com URL with a
- * copy of GPLv2].
+ * 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
@@ -498,10 +498,10 @@ int main(int argc, char **argv)
        FILE *countfile = NULL;
        char filecount[PATH_MAX];
        unsigned long dir_num = 0, dir_num_orig = 0;/* starting directory */
-       char c;
+       int c;
 
        progname = strrchr(argv[0], '/') ? strrchr(argv[0], '/') + 1 : argv[0];
-       while ((c = (char)getopt_long(argc, argv, "t:rwvplo:h",
+       while ((c = getopt_long(argc, argv, "t:rwvplo:h",
                                      longopts, NULL)) != -1) {
                switch (c) {
                case 'c':