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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ppp/sppp/sppp_dlpi.c
          +++ new/usr/src/uts/common/io/ppp/sppp/sppp_dlpi.c
↓ open down ↓ 1069 lines elided ↑ open up ↑
1070 1070   *    shared inner, shared outer.
1071 1071   *
1072 1072   * Description:
1073 1073   *    Perform DL_PHYS_ADDR_REQ request, called by sppp_mproto. This doesn't
1074 1074   *    return anything useful, but it keeps ifconfig happy.
1075 1075   */
1076 1076  /* ARGSUSED */
1077 1077  static int
1078 1078  sppp_dlphyreq(queue_t *q, mblk_t *mp, spppstr_t *us)
1079 1079  {
1080      -        static struct ether_addr addr = { 0 };
     1080 +        static struct ether_addr addr = { {0} };
1081 1081  
1082 1082          dlphysaddrack(q, mp, (char *)&addr, ETHERADDRL);
1083 1083          return (0);
1084 1084  }
1085 1085  
1086 1086  /*
1087 1087   * sppp_dladdether()
1088 1088   *
1089 1089   * Description:
1090 1090   *    Prepend an empty Ethernet header to msg for snoop, et al. Free
↓ open down ↓ 161 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX