summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--posttool.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/posttool.c b/posttool.c
index f0df3f2..54513a5 100644
--- a/posttool.c
+++ b/posttool.c
@@ -125,11 +125,12 @@ int do_vga_post(struct pci_device *dev)
pci_id = (dev->bus << 8) + (dev->dev << 3) +
(dev->func & 0x7);
error = do_real_post(pci_id);
- if (error != 0) {
- return error;
- }
- fprintf(stderr,"attempting arb + post off %d\n", pci_id);
+ if (error != 0)
+ fprintf(stderr,"POST FAILED!\n");
+
pci_device_vgaarb_unlock();
+
+ return error;
}
int do_post(void)