vadvise depend of COMPAT_43.
[dragonfly.git] / sys / kern / init_sysent.c
index 2e56200..a205b57 100644 (file)
@@ -105,7 +105,7 @@ struct sysent sysent[] = {
        { AS(sbrk_args), (sy_call_t *)sys_sbrk },       /* 69 = sbrk */
        { AS(sstk_args), (sy_call_t *)sys_sstk },       /* 70 = sstk */
        { compat(AS(ommap_args),mmap) },                /* 71 = old mmap */
-       { AS(ovadvise_args), (sy_call_t *)sys_ovadvise },       /* 72 = vadvise */
+       { compat(AS(ovadvise_args),vadvise) },          /* 72 = old vadvise */
        { AS(munmap_args), (sy_call_t *)sys_munmap },   /* 73 = munmap */
        { AS(mprotect_args), (sy_call_t *)sys_mprotect },       /* 74 = mprotect */
        { AS(madvise_args), (sy_call_t *)sys_madvise }, /* 75 = madvise */