uml: userspace files should call libc directly
[linux-2.6.git] / arch / um / kernel / physmem.c
index 1fe86d8cf092309e5428bd25f20e5556cf4a2c2c..e66432f42485dad02584bb13a6bc28a626aa0814 100644 (file)
@@ -99,7 +99,9 @@ void __init setup_physmem(unsigned long start, unsigned long reserve_end,
        err = os_map_memory((void *) uml_reserved, physmem_fd, offset,
                            len - offset, 1, 1, 1);
        if (err < 0) {
-               os_print_error(err, "Mapping memory");
+               printf("setup_physmem - mapping %ld bytes of memory at 0x%p "
+                      "failed - errno = %d\n", len - offset,
+                      (void *) uml_reserved, err);
                exit(1);
        }