From c4a53b359c763a34b61e6803295cc0ea45ea25c5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 28 Feb 2001 08:32:56 +0000 Subject: 2001-02-28 Roland McGrath * default_pager.c: Use instead of "file_io.h", so mach-defpager gets its own version when it uses this source file. (new_partition): If CHECK_LINUX_SIGNATURE arg is -3, don't print out. --- serverboot/default_pager.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'serverboot') diff --git a/serverboot/default_pager.c b/serverboot/default_pager.c index 198bb224..d5dbcf9b 100644 --- a/serverboot/default_pager.c +++ b/serverboot/default_pager.c @@ -48,7 +48,7 @@ #include #include -#include "file_io.h" +#include #define debug 0 @@ -206,9 +206,10 @@ new_partition (const char *name, struct file_direct *fdp, if (check_linux_signature < 0) { - printf("(default pager): " - "Paging to raw partition %s (%uk paging space)\n", - name, part->total_size * (vm_page_size / 1024)); + if (check_linux_signature != -3) + printf("(default pager): " + "Paging to raw partition %s (%uk paging space)\n", + name, part->total_size * (vm_page_size / 1024)); return part; } -- cgit v1.2.3