]> diplodocus.org Git - nmh/blobdiff - uip/slocal.c
file --mime on OpenBSD returns strings such as "text/plain
[nmh] / uip / slocal.c
index c944cd69bc0997e33f45ec2f31b75df6c6888d32..8daf6081ac9ccf2c3dd1f2a8c00e3b91e598ef22 100644 (file)
@@ -1042,8 +1042,9 @@ usr_folder (int fd, char *string)
  */
 
 static int
-usr_pipe (int fd, char *cmd, char *pgm, char **vec, int suppress)
+usr_pipe (int fd_arg, char *cmd, char *pgm, char **vec, int suppress)
 {
+    volatile int fd = fd_arg;
     pid_t child_id;
     int i, bytes, seconds, status;
     struct stat st;