summaryrefslogtreecommitdiffstats
path: root/pcitool
diff options
context:
space:
mode:
Diffstat (limited to 'pcitool')
-rw-r--r--pcitool/cli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcitool/cli.c b/pcitool/cli.c
index f105349..49d13ee 100644
--- a/pcitool/cli.c
+++ b/pcitool/cli.c
@@ -3128,9 +3128,6 @@ int main(int argc, char **argv) {
// Requesting real-time priority when needed
switch (mode) {
- case MODE_VALIDATE_XML:
- validation();
- break;
case MODE_READ:
case MODE_WRITE:
if (amode != ACCESS_DMA)
@@ -3146,6 +3143,9 @@ int main(int argc, char **argv) {
}
switch (mode) {
+ case MODE_VALIDATE_XML:
+ validation();
+ break;
case MODE_INFO:
Info(handle, model_info);
break;