]> granicus.if.org Git - sudo/commitdiff
systrace_read() returns ssize_t
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 30 Jul 2006 19:56:11 +0000 (19:56 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 30 Jul 2006 19:56:11 +0000 (19:56 +0000)
mon_systrace.c

index bab70cf23a7ee9217e2ccccfa5a79ba58457aece..810c83ebced4bc470a1fd85bb582c57181341f34 100644 (file)
@@ -446,7 +446,7 @@ set_policy(fd, child)
  * Read from an address and store in buf.
  * XXX - should deal with EBUSY from STRIOCIO
  */
-static int
+static ssize_t
 systrace_read(fd, pid, addr, buf, bufsiz)
     int fd;
     pid_t pid;