diff options
author | smh <smh@FreeBSD.org> | 2016-01-25 10:50:11 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2016-01-25 10:50:11 +0000 |
commit | 54be78ac69c31ed0ed7c852372d662eb66ebf2ab (patch) | |
tree | cc8e0b47804c4efea8bef915201ab233f382e5bf /sys/boot | |
parent | 27cb1558af2d7af65e1fd509f7def1cd7d979cf5 (diff) | |
download | FreeBSD-src-54be78ac69c31ed0ed7c852372d662eb66ebf2ab.zip FreeBSD-src-54be78ac69c31ed0ed7c852372d662eb66ebf2ab.tar.gz |
MFC r293274:
style(9) fixes for EFI boot
Sponsored by: Multiplay
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/efi/boot1/boot1.c | 3 | ||||
-rw-r--r-- | sys/boot/efi/loader/devicename.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/boot/efi/boot1/boot1.c b/sys/boot/efi/boot1/boot1.c index cdc7fab..29e0a8c 100644 --- a/sys/boot/efi/boot1/boot1.c +++ b/sys/boot/efi/boot1/boot1.c @@ -132,8 +132,7 @@ EFI_STATUS efi_main(EFI_HANDLE Ximage, EFI_SYSTEM_TABLE* Xsystab) conout->Reset(conout, TRUE); max_dim = best_mode = 0; for (i = 0; ; i++) { - status = conout->QueryMode(conout, i, - &cols, &rows); + status = conout->QueryMode(conout, i, &cols, &rows); if (EFI_ERROR(status)) break; if (cols * rows > max_dim) { diff --git a/sys/boot/efi/loader/devicename.c b/sys/boot/efi/loader/devicename.c index a9327dc..4e9764c 100644 --- a/sys/boot/efi/loader/devicename.c +++ b/sys/boot/efi/loader/devicename.c @@ -147,7 +147,7 @@ efi_fmtdev(void *vdev) break; } - return(buf); + return (buf); } /* @@ -161,7 +161,7 @@ efi_setcurrdev(struct env_var *ev, int flags, const void *value) rv = efi_parsedev(&ncurr, value, NULL); if (rv != 0) - return(rv); + return (rv); free(ncurr); env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); |