summaryrefslogtreecommitdiff
path: root/ext2fs/getblk.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-05-23 17:51:57 +0000
committerRoland McGrath <roland@gnu.org>1999-05-23 17:51:57 +0000
commit4c72a730cd1ce256f969ec77e3a0c8d33822537b (patch)
treeb4858eae076ee2cd0ec25c5c26ec6cfc73b0ce43 /ext2fs/getblk.c
parent17273e4e24d33ea9888f4ab322993d02eccca75a (diff)
1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
* ialloc.c (diskfs_alloc_node): Frob printf format to suppress warning. * getblk.c (ext2_getblk): Likewise. * balloc.c (ext2_free_blocks): Likewise. * hyper.c (get_hypermetadata): Likewise.
Diffstat (limited to 'ext2fs/getblk.c')
-rw-r--r--ext2fs/getblk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext2fs/getblk.c b/ext2fs/getblk.c
index ecc69dcc..1ac597e5 100644
--- a/ext2fs/getblk.c
+++ b/ext2fs/getblk.c
@@ -1,8 +1,8 @@
/* File block to disk block mapping routines
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,99 Free Software Foundation, Inc.
- Converted to work under the hurd by Miles Bader <miles@gnu.ai.mit.edu>
+ Converted to work under the hurd by Miles Bader <miles@gnu.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -38,14 +38,14 @@
#include <string.h>
#include "ext2fs.h"
-/*
+/*
* ext2_discard_prealloc and ext2_alloc_block are atomic wrt. the
* superblock in the same manner as are ext2_free_blocks and
* ext2_new_block. We just wait on the super rather than locking it
* here, since ext2_new_block will do the necessary locking and we
* can't block until then.
*/
-void
+void
ext2_discard_prealloc (struct node *node)
{
#ifdef EXT2_PREALLOCATE
@@ -235,7 +235,7 @@ ext2_getblk (struct node *node, block_t block, int create, block_t *disk_block)
addr_per_block * addr_per_block +
addr_per_block * addr_per_block * addr_per_block)
{
- ext2_warning ("block > big: %lu", block);
+ ext2_warning ("block > big: %u", block);
return EIO;
}
/*