ectool: Add newline to warning message
Cosmetic fix: $ sudo ./ectool -p Cannot get EC ports from /proc/ioports, fallback to default.EC RAM: Change-Id: Icc2b5bbbbfe7685e4fe512af029ce00b33a26daa Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46666 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
f3b1a53858
commit
9d50efe19d
|
@ -127,7 +127,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
if (get_ports && get_ec_ports() != 0)
|
if (get_ports && get_ec_ports() != 0)
|
||||||
fprintf(stderr, "Cannot get EC ports from /proc/ioports, "
|
fprintf(stderr, "Cannot get EC ports from /proc/ioports, "
|
||||||
"fallback to default.");
|
"fallback to default.\n");
|
||||||
|
|
||||||
if (iopl(3)) {
|
if (iopl(3)) {
|
||||||
printf("You need to be root.\n");
|
printf("You need to be root.\n");
|
||||||
|
|
Loading…
Reference in New Issue