summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-11-08 05:04:32 +0000
committerRoland McGrath <roland@gnu.org>1994-11-08 05:04:32 +0000
commit17ad33a2bcea44a7f42bec3a0c88ac8437ec6de1 (patch)
treecf10bbf0988712eb006d5add185782a1398393e7 /ufs
parent9002c5d8d5a402a5441440f73d69c2f002882f0b (diff)
entered into RCS
Diffstat (limited to 'ufs')
-rw-r--r--ufs/pager.c2
-rw-r--r--ufs/ufs.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/ufs/pager.c b/ufs/pager.c
index 73f1b5d7..d41b792d 100644
--- a/ufs/pager.c
+++ b/ufs/pager.c
@@ -152,7 +152,7 @@ pager_write_page (struct user_pager_info *pager,
else
{
printf ("Attempt to write unallocated disk\n.");
- printf ("Object %#x\tOffset %#x\n", pager, page);
+ printf ("Object %p\tOffset %#x\n", pager, page);
fflush (stdout);
err = 0; /* unallocated disk;
error would be pointless */
diff --git a/ufs/ufs.h b/ufs/ufs.h
index 3301e703..a7c9a891 100644
--- a/ufs/ufs.h
+++ b/ufs/ufs.h
@@ -270,6 +270,7 @@ error_t dev_read_sync (daddr_t addr, vm_address_t *data, long len);
/* From hyper.c: */
void get_hypermetadata (void);
+void copy_sblock (void);
/* From inode.c: */
error_t iget (ino_t ino, struct node **NP);