flags = O_RDWR | O_CREAT | O_EXCL;
}
} else {
- NOT_REACHED();
+ OVS_NOT_REACHED();
}
fd = open(name, flags, 0666);
if (fd < 0) {
/* Compose header. */
sha1_bytes(json_string, length, sha1);
- snprintf(header, sizeof header, "%s%zu "SHA1_FMT"\n",
+ snprintf(header, sizeof header, "%s%"PRIuSIZE" "SHA1_FMT"\n",
magic, length, SHA1_ARGS(sha1));
/* Write. */