SHA256
1
0
forked from pool/dmidecode
dmidecode/dmidecode-01-add-no-sysfs-option-description-to-h-output.patch
Jean Delvare 925fc78f0a - dmidecode-01-add-no-sysfs-option-description-to-h-output.patch:
Add "--no-sysfs" option description to -h output.
- dmidecode-02-fix-no-smbios-nor-dmi-entry-point-found-on-smbios3.patch:
  Fix 'No SMBIOS nor DMI entry point found' on SMBIOS3.
- dmidecode-03-let-read_file-return-the-actual-data-size.patch:
  Let read_file return the actual data size.
- dmidecode-04-use-read_file-to-read-the-dmi-table-from-sysfs.patch:
  Use read_file() to read the DMI table from sysfs.
  https://savannah.nongnu.org/bugs/?46176
- dmidecode-05-use-dword-for-structure-table-maximum-size-in-smbios3.patch:
  Use DWORD for Structure table maximum size in SMBIOS3.
- dmidecode-06-hide-irrelevant-fixup-message.patch:
  Hide irrelevant fixup message.
  http://savannah.nongnu.org/support/?109024

OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=35
2016-05-03 14:15:10 +00:00

23 lines
881 B
Diff

From: Roy Franz <roy.franz@linaro.org>
Date: Thu, 1 Oct 2015 08:41:43 +0200
Subject: Add "--no-sysfs" option description to -h output
Git-commit: 33b5aafc6ee6b5de9f2526fb1cf4b14d1e16e4f0
A description of --no-sysfs was not added to the output of "-h" when
the feature was added, so add it now.
---
dmiopt.c | 1 +
1 file changed, 1 insertion(+)
--- dmidecode-3.0.orig/dmiopt.c 2016-05-03 16:05:03.135840902 +0200
+++ dmidecode-3.0/dmiopt.c 2016-05-03 16:05:04.199850803 +0200
@@ -314,6 +314,7 @@ void print_help(void)
" -u, --dump Do not decode the entries\n"
" --dump-bin FILE Dump the DMI data to a binary file\n"
" --from-dump FILE Read the DMI data from a binary file\n"
+ " --no-sysfs Do not attempt to read DMI data from sysfs files\n"
" -V, --version Display the version and exit\n";
printf("%s", help);