Skip to content

Commit 62d96b0

Browse files
committed
cosmetic fixes
Github PR#71
1 parent 1a39de2 commit 62d96b0

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Installation
1717
- a PA-RISC-, Alpha-, IA-64- (Itanium-), PowerPC-, ARM- or x86- based machine
1818
- an ANSI (or close enough to ANSI compliance) C++ compiler (tested with g++ 2.95.4 and 3.x)
1919
- for the (optional) GTK+ graphical user interface, you will need a
20-
complete GTK+ development environment (gtk3-devel on RedHat/Fedora derivatives)
20+
complete GTK+ development environment (gtk3-devel on RedHat/Fedora derivatives)
2121

2222
2. To compile it, just use:
2323

@@ -42,7 +42,7 @@ Getting help
4242

4343
1. the lshw home page is http://lshw.ezix.org/
4444
2. bug reports and feature requests: http://ezix.org/project/newticket?component=lshw
45-
45+
4646
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.
4747

4848
NOTE TO DISTRIBUTIONS

docs/Changelog

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
detection of SD/MMC and SDIO devices
44
bug fixes
55
code cleanup
6-
updated data files
6+
updated data files
77
* lshw B.02.18
88
migrated to git
99
bug fixes
1010
code cleanup
11-
updated data files
11+
updated data files
1212
* lshw B.02.17
1313
bug fixes
1414
code cleanup
1515
improved support for FAT-formatted disks
16-
updated data files
16+
updated data files
1717
* lshw B.02.16
1818
bug fixes
1919
code cleanup
@@ -27,7 +27,7 @@
2727
updated data files
2828
* lshw B.02.14
2929
bug fixes
30-
support for EXT4 partitions
30+
support for EXT4 partitions
3131
* lshw B.02.13
3232
fix bug #402: properly detect 64 bit systems (even when compiled for i386)
3333
fix bug #401: SMP-related crash on IA-64
@@ -70,7 +70,7 @@
7070
* lshw B.02.09
7171
minor bugfixes (#26, #27)
7272
added support for PCI domains (#28)
73-
use of /sys (sysfs) when possible for PCI devices
73+
use of /sys (sysfs) when possible for PCI devices
7474
* B.02.08.01
7575
bugfix release for non-x86 platforms (#24)
7676
* B.02.08
@@ -99,7 +99,7 @@
9999
the GUI now uses a GtkTextView instead of a GtkLabel
100100
SVG icons are now displayed for USB, Firewire, SCSI, etc.
101101
added support for reporting VMX (Vanderpool) capabilities (untested)
102-
fixed a compilation problem with GCC 4
102+
fixed a compilation problem with GCC 4
103103
* B.02.03
104104
added support for PA-RISC devices (IODC-controlled) on 2.6 kernels
105105
the GUI can now be launched by invoking lshw with the '-X' option

docs/TODO

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
* use MPTABLE for reporting of CPUs
1010

1111
report SSD/rotational devices: /sys/block/DEV/queue/rotational
12-
better handle containers
12+
better handle containers

lshw.spec.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Requires: gtk3 >= 3.24
3535
BuildRequires: gtk3-devel >= 3.24
3636

3737
%description gui
38-
lshw (Hardware Lister) is a small tool to provide detailed informaton on
38+
lshw (Hardware Lister) is a small tool to provide detailed information on
3939
the hardware configuration of the machine. It can report exact memory
4040
configuration, firmware version, mainboard configuration, CPU version
4141
and speed, cache configuration, bus speed, etc. on DMI-capable x86s

src/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ install-gui: gui
131131
$(INSTALL) -d -m 0755 $(DESTDIR)/$(DATADIR)/$(PACKAGENAME)/ui
132132
$(INSTALL) -m 0644 gui/*.ui $(DESTDIR)/$(DATADIR)/$(PACKAGENAME)/ui
133133
$(INSTALL) -m 0644 gui/artwork/*.svg $(DESTDIR)/$(DATADIR)/$(PACKAGENAME)/artwork
134-
134+
135135
clean:
136136
rm -f $(PACKAGENAME).o $(PACKAGENAME) $(PACKAGENAME)-static $(PACKAGENAME)-compressed
137137
rm -f $(addsuffix .gz,$(DATAFILES))

src/core/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ lib$(PACKAGENAME).a: $(OBJS)
2323
$(AR) rs $@ $^
2424

2525
install: all
26-
26+
2727
clean:
2828
rm -f $(OBJS) lib$(PACKAGENAME).a
2929

src/core/dmi.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -1648,9 +1648,9 @@ int dmiversionrev)
16481648
uint64_t(data[0x1C]) << 40 | uint64_t(data[0x1B]) << 32 |
16491649
uint64_t(data[0x1A]) << 24 | uint64_t(data[0x19]) << 16 |
16501650
uint64_t(data[0x18]) << 8 | uint64_t(data[0x17]);
1651-
if (end - start < 512) // memory range is smaller thant 512KB
1651+
if (end - start < 512) // memory range is smaller than 512KB
16521652
{
1653-
// consider that values were expressed in megagytes
1653+
// consider that values were expressed in megabytes
16541654
start *= 1024;
16551655
end *= 1024;
16561656
}
@@ -1688,7 +1688,7 @@ int dmiversionrev)
16881688
uint64_t(data[0x18]) << 8 | uint64_t(data[0x17]);
16891689
if (end - start < 512) // memory range is smaller than 512KB
16901690
{
1691-
// consider that values were expressed in megagytes
1691+
// consider that values were expressed in megabytes
16921692
start *= 1024;
16931693
end *= 1024;
16941694
}

src/gui/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ gtk-$(PACKAGENAME): $(OBJS) ../core/liblshw.a
4747

4848
install: all
4949
$(STRIP) gtk-$(PACKAGENAME)
50-
50+
5151
clean:
5252
rm -f $(OBJS) gtk-$(PACKAGENAME) gtk-lshw.glade.bak gtk-lshw.gladep.bak callbacks.c.bak callbacks.h.bak Makefile.bak
5353

src/po/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ $(PACKAGENAME).pot: POTFILES
1818

1919
install: $(CATALOGS)
2020
$(foreach i, $(LANGUAGES), install -D $(i).mo $(DESTDIR)/$(DATADIR)/locale/$(i)/LC_MESSAGES/$(PACKAGENAME).mo ;)
21-
21+
2222
clean:
2323
rm -f $(CATALOGS) $(PACKAGENAME).pot

0 commit comments

Comments
 (0)