--- pfmon-3.2-061127/pfmon/pfmon_util.c.fortify 2006-11-27 05:22:40.000000000 -0500 +++ pfmon-3.2-061127/pfmon/pfmon_util.c 2006-11-27 13:38:43.000000000 -0500 @@ -1031,6 +1031,7 @@ int fd; size_t max, used; char number[32]; + ssize_t dummy; if (options.opt_is22 == 0) return (size_t)-1; @@ -1042,7 +1043,7 @@ if (fd == -1) return (size_t)-1; memset(number, 0, sizeof(number)); - read(fd, number, sizeof(number)); + dummy = read(fd, number, sizeof(number)); close(fd); @@ -1055,7 +1056,7 @@ if (fd == -1) return (size_t)-1; memset(number, 0, sizeof(number)); - read(fd, number, sizeof(number)); + dummy = read(fd, number, sizeof(number)); close(fd); max = strtoul(number, NULL, 0); --- pfmon-3.2-061127/pfmon/pfmon_task.c.fortify 2006-11-27 13:39:16.000000000 -0500 +++ pfmon-3.2-061127/pfmon/pfmon_task.c 2006-11-27 13:39:57.000000000 -0500 @@ -1675,6 +1675,7 @@ int ctrl_fd; int max_fd; int ndesc, msg_type; + ssize_t dummy; /* * POSIX threads: @@ -1811,7 +1812,7 @@ /* * ack the removal */ - write(workers[mycpu].from_worker[1], &msg, sizeof(msg)); + dummy = write(workers[mycpu].from_worker[1], &msg, sizeof(msg)); break; case PFMON_TASK_MSG_QUIT: