Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=21434
[fs/lustre-release.git]
/
lustre
/
utils
/
llverfs.c
diff --git
a/lustre/utils/llverfs.c
b/lustre/utils/llverfs.c
index
975fe52
..
3f65d55
100644
(file)
--- a/
lustre/utils/llverfs.c
+++ b/
lustre/utils/llverfs.c
@@
-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 */
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];
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':
longopts, NULL)) != -1) {
switch (c) {
case 'c':