Author: ae
Date: Tue May 24 17:03:46 2011
New Revision: 222264
URL: http://svn.freebsd.org/changeset/base/222264
Log:
Simplify ALIGNDOWN macro.
Modified:
head/sbin/geom/class/part/geom_part.c
Modified: head/sbin/geom/class/part/geom_part.c
==============================================================================
--- head/sbin/geom/class/part/geom_part.c Tue May 24 16:49:34 2011
(r222263)
+++ head/sbin/geom/class/part/geom_part.c Tue May 24 17:03:46 2011
(r222264)
@@ -295,7 +295,7 @@ fmtattrib(struct gprovider *pp)
return (buf);
}
-#define ALIGNDOWN(d, a) ((d) % (a) ? (d) - (d) % (a): (d))
+#define ALIGNDOWN(d, a) ((d) - (d) % (a))
#define ALIGNUP(d, a) ((d) % (a) ? (d) - (d) % (a) + (a): (d))
static int
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"