Author: smh
Date: Mon Jan 25 10:50:11 2016
New Revision: 294720
URL: https://svnweb.freebsd.org/changeset/base/294720

Log:
  MFC r293274:
  
  style(9) fixes for EFI boot
  
  Sponsored by: Multiplay

Modified:
  stable/10/sys/boot/efi/boot1/boot1.c
  stable/10/sys/boot/efi/loader/devicename.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/boot/efi/boot1/boot1.c
==============================================================================
--- stable/10/sys/boot/efi/boot1/boot1.c        Mon Jan 25 10:48:58 2016        
(r294719)
+++ stable/10/sys/boot/efi/boot1/boot1.c        Mon Jan 25 10:50:11 2016        
(r294720)
@@ -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: stable/10/sys/boot/efi/loader/devicename.c
==============================================================================
--- stable/10/sys/boot/efi/loader/devicename.c  Mon Jan 25 10:48:58 2016        
(r294719)
+++ stable/10/sys/boot/efi/loader/devicename.c  Mon Jan 25 10:50:11 2016        
(r294720)
@@ -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);
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to