summaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 2f94d13..bbc97ec 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -551,14 +551,15 @@ int find_main(int argc, char **argv)
for (i = 1; i < firstopt; i++) {
/* not xstat(): shouldn't bomb out on
* "find not_exist exist -xdev" */
- if (stat(argv[i], &stbuf)) stbuf.st_dev = -1L;
+ if (stat(argv[i], &stbuf))
+ stbuf.st_dev = -1L;
xdev_dev[i-1] = stbuf.st_dev;
}
}
argp[0] = "-a";
}
- argp++;
#endif
+ argp++;
}
actions = parse_params(&argv[firstopt]);