mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-29 08:29:03 +03:00
util/nvmutil: obey the 79-character rule
only 79 characters or less, per line. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -186,7 +186,8 @@ read_gbe(void)
|
||||
{
|
||||
int do_read[2] = {1, 1};
|
||||
|
||||
if ((cmd == cmd_copy) || (cmd == cmd_brick) || (cmd == cmd_setchecksum))
|
||||
if ((cmd == cmd_copy) || (cmd == cmd_brick) ||
|
||||
(cmd == cmd_setchecksum))
|
||||
do_read[part ^ 1] = 0;
|
||||
|
||||
/*
|
||||
@@ -411,7 +412,8 @@ good_checksum(int partnum)
|
||||
if (total == NVM_CHECKSUM)
|
||||
return 1;
|
||||
|
||||
fprintf(stderr, "WARNING: BAD checksum in part %d\n", partnum ^ invert);
|
||||
fprintf(stderr, "WARNING: BAD checksum in part %d\n",
|
||||
partnum ^ invert);
|
||||
(void) set_err(ECANCELED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user