[PATCH,HURD]: Define DEV_BSIZE
Samuel Thibault
samuel.thibault@gnu.org
Tue Sep 6 14:53:00 GMT 2011
The unit of st_blocks is already fixed to 512 by the existing S_BLKSIZE
macro.
2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): Define macro.
diff --git a/sysdeps/mach/hurd/sys/param.h b/sysdeps/mach/hurd/sys/param.h
index 699ba35..29cb1e3 100644
--- a/sysdeps/mach/hurd/sys/param.h
+++ b/sysdeps/mach/hurd/sys/param.h
@@ -119,6 +119,10 @@
#define MAX(a,b) (((a)>(b))?(a):(b))
+/* Unit of `st_blocks'. */
+#define DEV_BSIZE 512
+
+
/* Scale factor for scaled integers used to count %cpu time and load avgs.
The number of CPU `tick's that map to a unique `%age' can be expressed
More information about the Libc-alpha
mailing list