This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH,HURD]: Define DEV_BSIZE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]