--- ftrace.c.orig Fri Sep 17 08:53:25 2004 +++ ftrace.c Sat Feb 19 12:31:16 2005 @@ -128,7 +128,7 @@ int ret; va_start(ap, flags); - mode = va_arg(ap, mode_t); + mode = va_arg(ap, int); va_end(ap); ret = real_open(pathname, flags, mode); if (ret == -1) return -1;