Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4cfb21
)
Jacob schooled me.
author
shaver
<shaver>
Sat, 26 Jul 2003 03:28:16 +0000
(
03:28
+0000)
committer
shaver
<shaver>
Sat, 26 Jul 2003 03:28:16 +0000
(
03:28
+0000)
lustre/tests/multiop.c
patch
|
blob
|
history
diff --git
a/lustre/tests/multiop.c
b/lustre/tests/multiop.c
index
95d45f4
..
1e69f0e
100755
(executable)
--- a/
lustre/tests/multiop.c
+++ b/
lustre/tests/multiop.c
@@
-40,9
+40,8
@@
int main(int argc, char **argv)
signal(SIGUSR1, null_handler);
fname = argv[1];
- commands = argv[2];
-
while (*commands
) {
+
for (commands = argv[2]; *commands; commands++
) {
switch (*commands) {
case 'o':
fd = open(fname, O_RDONLY);
@@
-96,8
+95,6
@@
int main(int argc, char **argv)
fprintf(stderr, usage, argv[0]);
exit(1);
}
-
- commands++;
}
return 0;