summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtrivfs/dir-mkdir.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libtrivfs/dir-mkdir.c b/libtrivfs/dir-mkdir.c
index 587fd4af..4fa63a33 100644
--- a/libtrivfs/dir-mkdir.c
+++ b/libtrivfs/dir-mkdir.c
@@ -16,9 +16,10 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "fs_S.h"
-error_t
-trivfs_S_dir_mkdir (struct protid *cred, char *name, mode_t mode)
+kern_return_t
+trivfs_S_dir_mkdir (struct trivfs_protid *cred, char *name, mode_t mode)
{
return cred ? ENOTDIR : EOPNOTSUPP;
}