Dave
>
> Actually, at a minimum, I should change this:
>
> if (!symbol_exists("pci_devices")) error(FATAL, "no PCI devices found
> on this system.\n");
>
> to the generic option_not_supported() message.
Can you accept this change I basically replaced above error message to
option_not_supported() call.
Do let me know your observation
Thanks
Sharyathi N
Index: crash-5.0.3/dev.c
===================================================================
--- crash-5.0.3.orig/dev.c 2010-04-08 20:23:48.000000000 +0530
+++ crash-5.0.3/dev.c 2010-05-11 16:08:26.000000000 +0530
@@ -2214,7 +2214,7 @@
char buf3[BUFSIZE];
if (!symbol_exists("pci_devices"))
- error(FATAL, "no PCI devices found on this system.\n");
+ option_not_supported('p');
BZERO(&pcilist_data, sizeof(struct list_data));
--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility