Index: uspace/lib/c/generic/loc.c
===================================================================
--- uspace/lib/c/generic/loc.c	(revision cd66f3c8fb6de0f94efe7d1a5e6651d830b932b4)
+++ uspace/lib/c/generic/loc.c	(revision 5cc9eba114f1b3db3d9b0fce528eeec326c97785)
@@ -808,5 +808,5 @@
 			return rc;
 		
-		if (alloc_size <= act_size)
+		if (act_size <= alloc_size)
 			break;
 		
