Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2007 17:33:48 GMT
From:      Alexander Leidinger <netchild@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 114065 for review
Message-ID:  <200702051733.l15HXmat000268@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114065

Change 114065 by netchild@netchild_magellan on 2007/02/05 17:33:25

	size_t is unsigned, so use the appropriate format specifier for printf

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linprocfs/linprocfs.c#12 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linprocfs/linprocfs.c#12 (text+ko) ====

@@ -525,7 +525,7 @@
 		state = 'R';
 
 		if (ratelimit == 0) {
-			printf("linprocfs: don't know how to handle unknown FreeBSD state %d/%zd, mapping to R\n",
+			printf("linprocfs: don't know how to handle unknown FreeBSD state %d/%zu, mapping to R\n",
 			    kp.ki_stat, sizeof(linux_state));
 			++ratelimit;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702051733.l15HXmat000268>