// unimpl __NR_fspacectl 580
// unimpl __NR_sched_getcpu 581
-DECL_TEMPLATE(freebsd, __NR_swapoff) // 582
+DECL_TEMPLATE(freebsd, sys_swapoff) // 582
#endif
DECL_TEMPLATE(freebsd, sys_fake_sigreturn)
#define __NR_setcontext 422
#define __NR_swapcontext 423
#if (FREEBSD_VERS >= FREEBSD_14)
-#define __NR_freebsd14_swapoff 424
+#define __NR_freebsd13_swapoff 424
#else
#define __NR_swapoff 424
#endif
#endif
+#if (FREEBSD_VERS >= FREEBSD_14)
+
+#define __NR_fspacectl 580
+#define __NR_sched_getcpu 581
+#define __NR_swapoff 582
+
+#endif
+
#define __NR_fake_sigreturn 1000
#endif /* VKI_UNISTD_FREEBSD_H */