Index: uspace/lib/posix/src/sys/mman.c
===================================================================
--- uspace/lib/posix/src/sys/mman.c	(revision ba3841e2205573d1765f66063c5b9a19768de9b2)
+++ uspace/lib/posix/src/sys/mman.c	(revision 66855b2198cfc74d61f61da3149b75b7e8a013b1)
@@ -45,6 +45,8 @@
 		start = AS_AREA_ANY;
 
-//	if (!((flags & MAP_SHARED) ^ (flags & MAP_PRIVATE)))
-//		return MAP_FAILED;
+#if 0
+	if (!((flags & MAP_SHARED) ^ (flags & MAP_PRIVATE)))
+		return MAP_FAILED;
+#endif
 
 	if (!(flags & MAP_ANONYMOUS))
Index: uspace/lib/posix/src/time.c
===================================================================
--- uspace/lib/posix/src/time.c	(revision ba3841e2205573d1765f66063c5b9a19768de9b2)
+++ uspace/lib/posix/src/time.c	(revision 66855b2198cfc74d61f61da3149b75b7e8a013b1)
@@ -216,11 +216,11 @@
 
 	switch (clock_id) {
-		case CLOCK_REALTIME:
-			res->tv_sec = 0;
-			res->tv_nsec = 1000; /* Microsecond resolution. */
-			return 0;
-		default:
-			errno = EINVAL;
-			return -1;
+	case CLOCK_REALTIME:
+		res->tv_sec = 0;
+		res->tv_nsec = 1000; /* Microsecond resolution. */
+		return 0;
+	default:
+		errno = EINVAL;
+		return -1;
 	}
 }
@@ -240,12 +240,12 @@
 
 	switch (clock_id) {
-		case CLOCK_REALTIME:
-			gettimeofday(&tv, NULL);
-			tp->tv_sec = tv.tv_sec;
-			tp->tv_nsec = tv.tv_usec * 1000;
-			return 0;
-		default:
-			errno = EINVAL;
-			return -1;
+	case CLOCK_REALTIME:
+		gettimeofday(&tv, NULL);
+		tp->tv_sec = tv.tv_sec;
+		tp->tv_nsec = tv.tv_usec * 1000;
+		return 0;
+	default:
+		errno = EINVAL;
+		return -1;
 	}
 }
@@ -265,13 +265,13 @@
 
 	switch (clock_id) {
-		case CLOCK_REALTIME:
-			// TODO: setting clock
-			// FIXME: HelenOS doesn't actually support hardware
-			//        clock yet
-			errno = EPERM;
-			return -1;
-		default:
-			errno = EINVAL;
-			return -1;
+	case CLOCK_REALTIME:
+		// TODO: setting clock
+		// FIXME: HelenOS doesn't actually support hardware
+		//        clock yet
+		errno = EPERM;
+		return -1;
+	default:
+		errno = EINVAL;
+		return -1;
 	}
 }
@@ -293,16 +293,16 @@
 
 	switch (clock_id) {
-		case CLOCK_REALTIME:
-			// TODO: interruptible sleep
-			if (rqtp->tv_sec != 0) {
-				async_sleep(rqtp->tv_sec);
-			}
-			if (rqtp->tv_nsec != 0) {
-				async_usleep(rqtp->tv_nsec / 1000);
-			}
-			return 0;
-		default:
-			errno = EINVAL;
-			return -1;
+	case CLOCK_REALTIME:
+		// TODO: interruptible sleep
+		if (rqtp->tv_sec != 0) {
+			async_sleep(rqtp->tv_sec);
+		}
+		if (rqtp->tv_nsec != 0) {
+			async_usleep(rqtp->tv_nsec / 1000);
+		}
+		return 0;
+	default:
+		errno = EINVAL;
+		return -1;
 	}
 }
