Index: uspace/app/tester/mm/pager1.c
===================================================================
--- uspace/app/tester/mm/pager1.c	(revision 38aaf00508acfd26f9d005fe19c221720104ca88)
+++ uspace/app/tester/mm/pager1.c	(revision f644472b977cc4e82d0187fb58bd63ad7bd5962a)
@@ -52,5 +52,6 @@
 		return NULL;
 	(void) unlink(TEST_FILE);
-	if (write(fd, text, sizeof(text)) != sizeof(text)) {
+
+	if (write(fd, (aoff64_t []) {0}, text, sizeof(text)) != sizeof(text)) {
 		close(fd);
 		return NULL;
Index: uspace/app/tester/vfs/vfs1.c
===================================================================
--- uspace/app/tester/vfs/vfs1.c	(revision 38aaf00508acfd26f9d005fe19c221720104ca88)
+++ uspace/app/tester/vfs/vfs1.c	(revision f644472b977cc4e82d0187fb58bd63ad7bd5962a)
@@ -70,4 +70,6 @@
 const char *test_vfs1(void)
 {
+	aoff64_t pos = 0;
+
 	if (mkdir(TEST_DIRECTORY, 0) != 0) {
 		TPRINTF("rc=%d\n", errno);
@@ -82,16 +84,14 @@
 	
 	size_t size = sizeof(text);
-	ssize_t cnt = write(fd0, text, size);
+	ssize_t cnt = write(fd0, &pos, text, size);
 	if (cnt < 0)
 		return "write() failed";
 	TPRINTF("Written %zd bytes\n", cnt);
-	
-	if (lseek(fd0, 0, SEEK_SET) != 0)
-		return "lseek() failed";
-	TPRINTF("Sought to position 0\n");
+
+	pos = 0;
 	
 	char buf[BUF_SIZE];
 	TPRINTF("read..\n");
-	while ((cnt = read(fd0, buf, BUF_SIZE))) {
+	while ((cnt = read(fd0, &pos, buf, BUF_SIZE))) {
 		TPRINTF("read returns %zd\n", cnt);
 		if (cnt < 0)
