svn commit: r293274 - in head/sys/boot/efi: boot1 loader
Steven Hartland
smh at FreeBSD.org
Wed Jan 6 20:48:30 UTC 2016
Author: smh
Date: Wed Jan 6 20:48:29 2016
New Revision: 293274
URL: https://svnweb.freebsd.org/changeset/base/293274
Log:
style(9) fixes for EFI boot
Fix some style(9) nits for EFI boot code, no functional changes.
MFC after: 2 weeks
X-MFC-With: r293268
Sponsored by: Multiplay
Modified:
head/sys/boot/efi/boot1/boot1.c
head/sys/boot/efi/loader/devicename.c
Modified: head/sys/boot/efi/boot1/boot1.c
==============================================================================
--- head/sys/boot/efi/boot1/boot1.c Wed Jan 6 20:43:41 2016 (r293273)
+++ head/sys/boot/efi/boot1/boot1.c Wed Jan 6 20:48:29 2016 (r293274)
@@ -132,8 +132,7 @@ EFI_STATUS efi_main(EFI_HANDLE Ximage, E
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) {
Modified: head/sys/boot/efi/loader/devicename.c
==============================================================================
--- head/sys/boot/efi/loader/devicename.c Wed Jan 6 20:43:41 2016 (r293273)
+++ head/sys/boot/efi/loader/devicename.c Wed Jan 6 20:48:29 2016 (r293274)
@@ -147,7 +147,7 @@ efi_fmtdev(void *vdev)
break;
}
- return(buf);
+ return (buf);
}
/*
@@ -161,7 +161,7 @@ efi_setcurrdev(struct env_var *ev, int f
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);
More information about the svn-src-all
mailing list