Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/os/mlsetup.c
          +++ new/usr/src/uts/i86pc/os/mlsetup.c
↓ open down ↓ 75 lines elided ↑ open up ↑
  76   76  extern uint32_t cpuid_feature_ecx_exclude;
  77   77  extern uint32_t cpuid_feature_edx_include;
  78   78  extern uint32_t cpuid_feature_edx_exclude;
  79   79  
  80   80  /*
  81   81   * Set console mode
  82   82   */
  83   83  static void
  84   84  set_console_mode(uint8_t val)
  85   85  {
  86      -        struct bop_regs rp = {0};
       86 +        struct bop_regs rp = {{0}};
  87   87  
  88   88          rp.eax.byte.ah = 0x0;
  89   89          rp.eax.byte.al = val;
  90   90          rp.ebx.word.bx = 0x0;
  91   91  
  92   92          BOP_DOINT(bootops, 0x10, &rp);
  93   93  }
  94   94  
  95   95  
  96   96  /*
↓ open down ↓ 416 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX