diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c index 768958384010..fd021ebd7725 100644 --- a/sys/security/mac_biba/mac_biba.c +++ b/sys/security/mac_biba/mac_biba.c @@ -811,7 +811,7 @@ mac_biba_create_devfs_directory(struct mount *mp, char *dirname, static void mac_biba_create_devfs_symlink(struct ucred *cred, struct mount *mp, struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de, - struct label *delabel, const char *fullpath) + struct label *delabel) { struct mac_biba *source, *dest; diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c index 69bd3748a737..89ecf278c033 100644 --- a/sys/security/mac_mls/mac_mls.c +++ b/sys/security/mac_mls/mac_mls.c @@ -781,7 +781,7 @@ mac_mls_create_devfs_directory(struct mount *mp, char *dirname, static void mac_mls_create_devfs_symlink(struct ucred *cred, struct mount *mp, struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de, - struct label *delabel, const char *fullpath) + struct label *delabel) { struct mac_mls *source, *dest;