309
309
/* Now tell children to stat the file */
310
snprintf(cmd, sizeof(cmd), "%c%zd", CMD_TEST, sz);
310
snprintf(cmd, sizeof(cmd), "%c%jd", CMD_TEST, (intmax_t)sz);
311
311
for (i = 0; i < threads; i++) {
312
312
if (write(pipe_to[i][1], cmd, strlen(cmd)+1) < 0) {
313
313
fprintf(stderr, "write to pipe failed: %s\n",