Print this page
5218 posix definition of NULL
correct unistd.h and iso/stddef_iso.h
update gate source affected

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/lvm/rpc.mdcommd/mdmn_commd_server.c
          +++ new/usr/src/cmd/lvm/rpc.mdcommd/mdmn_commd_server.c
↓ open down ↓ 226 lines elided ↑ open up ↑
 227  227                  (void) snprintf(msg_buf, MAXPATHLEN, "rpc.mdcommd: "
 228  228                      "Inconsistent return value from node %d when processing "
 229  229                      "message type %d. Master exitval = %d, "
 230  230                      "Slave exitval = %d\n", nid, type, master_exitval,
 231  231                      slave_result->mmr_exitval);
 232  232          }
 233  233          commd_err.size = strlen(msg_buf);
 234  234          commd_err.md_message = (uint64_t)(uintptr_t)&msg_buf[0];
 235  235  
 236  236          (void) metaioctl(MD_MN_COMMD_ERR, &commd_err, &mne, "rpc.mdcommd");
 237      -        (void) uadmin(A_DUMP, AD_BOOT, NULL);
      237 +        (void) uadmin(A_DUMP, AD_BOOT, (uintptr_t)NULL);
 238  238  }
 239  239  
 240  240  static void
 241  241  flush_fcout()
 242  242  {
 243  243          struct statvfs64 vfsbuf;
 244  244          long long avail_bytes;
 245  245          int warned = 0;
 246  246  
 247  247          for (; ; ) {
↓ open down ↓ 2983 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX