Blame SOURCES/0058-cosmetic-fixes.patch

a436c4
From 62d96b016b04219e76e2de2f5dd585c7bbdae9c1 Mon Sep 17 00:00:00 2001
a436c4
From: Lyonel Vincent <lyonel@ezix.org>
a436c4
Date: Tue, 12 Oct 2021 23:35:54 +0200
a436c4
Subject: [PATCH 58/65] cosmetic fixes
a436c4
a436c4
Github PR#71
a436c4
---
a436c4
 README.md         |  4 ++--
a436c4
 docs/Changelog    | 12 ++++++------
a436c4
 docs/TODO         |  2 +-
a436c4
 lshw.spec.in      |  2 +-
a436c4
 src/Makefile      |  2 +-
a436c4
 src/core/Makefile |  2 +-
a436c4
 src/core/dmi.cc   |  6 +++---
a436c4
 src/gui/Makefile  |  2 +-
a436c4
 src/po/Makefile   |  2 +-
a436c4
 9 files changed, 17 insertions(+), 17 deletions(-)
a436c4
a436c4
diff --git a/README.md b/README.md
a436c4
index 6659f9c..0c610f5 100644
a436c4
--- a/README.md
a436c4
+++ b/README.md
a436c4
@@ -42,7 +42,7 @@ Getting help
a436c4
 
a436c4
  1. the lshw home page is http://lshw.ezix.org/
a436c4
  2. bug reports and feature requests: http://ezix.org/project/newticket?component=lshw
a436c4
- 
a436c4
+
a436c4
    Please make sure you include enough information in your bug report: XML output from lshw is preferred over text or HTML, indicate the affected version of lshw, your platform (i386, x86-64, PA-RISC, PowerPC, etc.) and your distribution.
a436c4
 
a436c4
 NOTE TO DISTRIBUTIONS
a436c4
diff --git a/docs/Changelog b/docs/Changelog
a436c4
index 6ea288c..0f648f5 100644
a436c4
--- a/docs/Changelog
a436c4
+++ b/docs/Changelog
a436c4
@@ -3,17 +3,17 @@
a436c4
   detection of SD/MMC and SDIO devices
a436c4
   bug fixes
a436c4
   code cleanup
a436c4
-  updated data files 
a436c4
+  updated data files
a436c4
 * lshw B.02.18
a436c4
   migrated to git
a436c4
   bug fixes
a436c4
   code cleanup
a436c4
-  updated data files 
a436c4
+  updated data files
a436c4
 * lshw B.02.17
a436c4
   bug fixes
a436c4
   code cleanup
a436c4
   improved support for FAT-formatted disks
a436c4
-  updated data files 
a436c4
+  updated data files
a436c4
 * lshw B.02.16
a436c4
   bug fixes
a436c4
   code cleanup
a436c4
@@ -27,7 +27,7 @@
a436c4
   updated data files
a436c4
 * lshw B.02.14
a436c4
   bug fixes
a436c4
-  support for EXT4 partitions 
a436c4
+  support for EXT4 partitions
a436c4
 * lshw B.02.13
a436c4
   fix bug #402: properly detect 64 bit systems (even when compiled for i386)
a436c4
   fix bug #401: SMP-related crash on IA-64
a436c4
@@ -70,7 +70,7 @@
a436c4
 * lshw B.02.09
a436c4
   minor bugfixes (#26, #27)
a436c4
   added support for PCI domains (#28)
a436c4
-  use of /sys (sysfs) when possible for PCI devices 
a436c4
+  use of /sys (sysfs) when possible for PCI devices
a436c4
 *  B.02.08.01
a436c4
   bugfix release for non-x86 platforms (#24)
a436c4
 *  B.02.08
a436c4
@@ -99,7 +99,7 @@
a436c4
   the GUI now uses a GtkTextView instead of a GtkLabel
a436c4
   SVG icons are now displayed for USB, Firewire, SCSI, etc.
a436c4
   added support for reporting VMX (Vanderpool) capabilities (untested)
a436c4
-  fixed a compilation problem with GCC 4 
a436c4
+  fixed a compilation problem with GCC 4
a436c4
 *  B.02.03
a436c4
   added support for PA-RISC devices (IODC-controlled) on 2.6 kernels
a436c4
   the GUI can now be launched by invoking lshw with the '-X' option
a436c4
diff --git a/docs/TODO b/docs/TODO
a436c4
index 0b33782..2d4d3af 100644
a436c4
--- a/docs/TODO
a436c4
+++ b/docs/TODO
a436c4
@@ -9,4 +9,4 @@
a436c4
  * use MPTABLE for reporting of CPUs
a436c4
 
a436c4
 report SSD/rotational devices: /sys/block/DEV/queue/rotational
a436c4
-better handle containers
a436c4
\ No newline at end of file
a436c4
+better handle containers
a436c4
diff --git a/lshw.spec.in b/lshw.spec.in
a436c4
index f6884ab..b3b636f 100644
a436c4
--- a/lshw.spec.in
a436c4
+++ b/lshw.spec.in
a436c4
@@ -35,7 +35,7 @@ Requires: gtk3 >= 3.24
a436c4
 BuildRequires: gtk3-devel >= 3.24
a436c4
 
a436c4
 %description gui
a436c4
-lshw (Hardware Lister) is a small tool to provide detailed informaton on
a436c4
+lshw (Hardware Lister) is a small tool to provide detailed information on
a436c4
 the hardware configuration of the machine. It can report exact memory
a436c4
 configuration, firmware version, mainboard configuration, CPU version
a436c4
 and speed, cache configuration, bus speed, etc. on DMI-capable x86s
a436c4
diff --git a/src/core/dmi.cc b/src/core/dmi.cc
a436c4
index df5db6b..6d76c53 100644
a436c4
--- a/src/core/dmi.cc
a436c4
+++ b/src/core/dmi.cc
a436c4
@@ -1648,9 +1648,9 @@ int dmiversionrev)
a436c4
                     uint64_t(data[0x1C]) << 40 | uint64_t(data[0x1B]) << 32 |
a436c4
                     uint64_t(data[0x1A]) << 24 | uint64_t(data[0x19]) << 16 |
a436c4
                     uint64_t(data[0x18]) << 8 | uint64_t(data[0x17]);
a436c4
-          if (end - start < 512)                  // memory range is smaller thant 512KB
a436c4
+          if (end - start < 512)                  // memory range is smaller than 512KB
a436c4
           {
a436c4
-// consider that values were expressed in megagytes
a436c4
+// consider that values were expressed in megabytes
a436c4
             start *= 1024;
a436c4
             end *= 1024;
a436c4
           }
a436c4
@@ -1688,7 +1688,7 @@ int dmiversionrev)
a436c4
                     uint64_t(data[0x18]) << 8 | uint64_t(data[0x17]);
a436c4
           if (end - start < 512)                  // memory range is smaller than 512KB
a436c4
           {
a436c4
-// consider that values were expressed in megagytes
a436c4
+// consider that values were expressed in megabytes
a436c4
             start *= 1024;
a436c4
             end *= 1024;
a436c4
           }
a436c4
-- 
a436c4
2.33.1
a436c4