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
LU-11855 utils: move declarations out of local blocks
[fs/lustre-release.git]
/
lustre
/
utils
/
obd.c
diff --git
a/lustre/utils/obd.c
b/lustre/utils/obd.c
index
8435d2f
..
a9e91d8
100644
(file)
--- a/
lustre/utils/obd.c
+++ b/
lustre/utils/obd.c
@@
-2996,6
+2996,7
@@
int jt_llog_check(int argc, char **argv)
{
struct obd_ioctl_data data;
char rawbuf[MAX_IOC_BUFLEN], *buf = rawbuf;
+ char from[2] = "1", to[3] = "-1";
int rc;
if (argc != 2 && argc != 4)
@@
-3011,7
+3012,6
@@
int jt_llog_check(int argc, char **argv)
data.ioc_inllen3 = strlen(argv[3]) + 1;
data.ioc_inlbuf3 = argv[3];
} else {
- char from[2] = "1", to[3] = "-1";
data.ioc_inllen2 = strlen(from) + 1;
data.ioc_inlbuf2 = from;
data.ioc_inllen3 = strlen(to) + 1;