Leah Rowe
|
caad8200b9
re-order global variables/defines
|
пре 2 година |
Leah Rowe
|
29a1bcb6ec
improved code readability on errno exit handling
|
пре 2 година |
Leah Rowe
|
33f1006399
dump command: improved code readability
|
пре 2 година |
Leah Rowe
|
1ae70389a1
properly check for errno EXIT_SUCCESS
|
пре 2 година |
Leah Rowe
|
6a3655d804
only check for file writes after successful reads
|
пре 2 година |
Leah Rowe
|
a5c603e8c9
optimize arg checks when argc==4
|
пре 2 година |
Leah Rowe
|
0231231bce
replace strcmp checks with strncmp
|
пре 2 година |
Leah Rowe
|
a3c0ffcacb
remove redundant check
|
пре 2 година |
Leah Rowe
|
6b99913d66
tidy up if/else block
|
пре 2 година |
Leah Rowe
|
0a0a6a3438
simplify check
|
пре 2 година |
Leah Rowe
|
9a8d541270
make check clearer
|
пре 2 година |
Leah Rowe
|
3827b28279
simplified an if statement
|
пре 2 година |
Leah Rowe
|
7007a44a08
remove redundant error message
|
пре 2 година |
Leah Rowe
|
56f1f02ade
warn when inputting multicast MAC address
|
пре 2 година |
Leah Rowe
|
465bb98242
remove unnecessary check
|
пре 2 година |
Leah Rowe
|
66924669ee
remove errant code
|
пре 2 година |
Leah Rowe
|
c8c1adf494
nvmutil 20220815
|
пре 2 година |
Leah Rowe
|
36cfd392e3
add -pedantic to the Makefile
|
пре 2 година |
Leah Rowe
|
be98b9eba1
do not print ECANCELED if modified==1
|
пре 2 година |
Leah Rowe
|
d07c7378b5
dump: do not print "success"
|
пре 2 година |
Leah Rowe
|
e7357cfbef
dump: do not print ECANCELED on bad checksum
|
пре 2 година |
Leah Rowe
|
b6b1104c24
always print errno
|
пре 2 година |
Leah Rowe
|
6215991a82
only check parts if errno not set
|
пре 2 година |
Leah Rowe
|
bb6034455c
remove int status; use errno *exclusively*!
|
пре 2 година |
Leah Rowe
|
4d127ccfb3
do not print errno ENOTDIR
|
пре 2 година |
Leah Rowe
|
2ecd04097f
add missing bitwise and mask
|
пре 2 година |
Leah Rowe
|
71362b4fe3
re-add err.h, but only on openbsd
|
пре 2 година |
Leah Rowe
|
717cccc8bb
re-add directory check, and do it right this time
|
пре 2 година |
Leah Rowe
|
e7c22a7a93
remove unnecessary goto statement
|
пре 2 година |
Leah Rowe
|
7b5691ac27
fix stupid gcc error
|
пре 2 година |