⬢ DragonFlyBSD Kernel Audit
DF-2880 / fix.diff
← back to finding ↓ download raw
--- sys/sys/conf.h	2026-06-29 12:51:19.000000000 +0000
+++ /tmp/opencode/v26/fixtree/sys/sys/conf.h	2026-10-24 16:33:07.789715562 +0000
@@ -178,7 +178,7 @@
 struct swdevt {
 	dev_t	sw_dev;			/* For quasibogus swapdev reporting */
 	int	sw_flags;
-	int	sw_nblks;		/* Number of swap blocks on device */
+	int64_t	sw_nblks;		/* Number of swap blocks on device */
 	int	sw_nused;		/* swap blocks used on device */
 	struct	vnode *sw_vp;
 	struct cdev *sw_device;