Module Name:    src
Committed By:   andvar
Date:           Sat Aug 26 21:20:48 UTC 2023

Modified Files:
        src/sys/arch/amiga/dev: fd.c

Log Message:
amiga/fdc(4): revert bp->b_bcount format specifiers from %ld to %d,
changed in rev 1.62. b_bcount has a type of int.

fixes FDDEBUG build.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/amiga/dev/fd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amiga/dev/fd.c
diff -u src/sys/arch/amiga/dev/fd.c:1.101 src/sys/arch/amiga/dev/fd.c:1.102
--- src/sys/arch/amiga/dev/fd.c:1.101	Mon Jan 17 20:38:49 2022
+++ src/sys/arch/amiga/dev/fd.c	Sat Aug 26 21:20:48 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: fd.c,v 1.101 2022/01/17 20:38:49 andvar Exp $ */
+/*	$NetBSD: fd.c,v 1.102 2023/08/26 21:20:48 andvar Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.101 2022/01/17 20:38:49 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.102 2023/08/26 21:20:48 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1675,11 +1675,11 @@ fdminphys(struct buf *bp)
 	toff = sec * FDSECSIZE;
 	tsz = sc->nsectors * FDSECSIZE;
 #ifdef FDDEBUG
-	printf("fdminphys: before %ld", bp->b_bcount);
+	printf("fdminphys: before %d", bp->b_bcount);
 #endif
 	bp->b_bcount = uimin(bp->b_bcount, tsz - toff);
 #ifdef FDDEBUG
-	printf(" after %ld\n", bp->b_bcount);
+	printf(" after %d\n", bp->b_bcount);
 #endif
 	minphys(bp);
 }

Reply via email to