diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-05-30 12:16:11 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-05-30 12:16:11 +0000 |
commit | 2742b3f5e7e0a13dcd4136f357176a3362a0e778 (patch) | |
tree | 3f5846098df1f9f14c06f4dd742a34fa9738e675 /hardinfo2/arch/linux/common | |
parent | 86dbf99b5f054bef60d0fc8bea8043c1d354e470 (diff) |
Fix usbfs display.
Abort HardInfo if user choses not to load a module dependency (when using -m command-line switch).
Diffstat (limited to 'hardinfo2/arch/linux/common')
-rw-r--r-- | hardinfo2/arch/linux/common/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/usb.h b/hardinfo2/arch/linux/common/usb.h index a102e6d0..cb939ff8 100644 --- a/hardinfo2/arch/linux/common/usb.h +++ b/hardinfo2/arch/linux/common/usb.h @@ -143,7 +143,7 @@ int __scan_usb_procfs(void) g_hash_table_foreach_remove(moreinfo, remove_usb_devices, NULL); g_free(usb_list); } - usb_list = g_strdup(""); + usb_list = g_strdup("[USB Devices]\n"); while (fgets(buffer, 128, dev)) { tmp = buffer; |