/[hurd]/hurd/ufs/main.c
ViewVC logotype

Diff of /hurd/ufs/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.49 by marcus, Mon Jan 8 22:33:11 2001 UTC revision 1.50 by roland, Wed May 8 09:59:52 2002 UTC
# Line 1  Line 1 
1  /*  /*
2     Copyright (C) 1994,95,96,97,98,99 Free Software Foundation, Inc.     Copyright (C) 1994,95,96,97,98,99,2002 Free Software Foundation, Inc.
3    
4     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
5     modify it under the terms of the GNU General Public License as     modify it under the terms of the GNU General Public License as
# Line 136  struct argp *diskfs_runtime_argp = (stru Line 136  struct argp *diskfs_runtime_argp = (stru
136    
137  /* Override the standard diskfs routine so we can add our own output.  */  /* Override the standard diskfs routine so we can add our own output.  */
138  error_t  error_t
139  diskfs_append_args (char **argz, unsigned *argz_len)  diskfs_append_args (char **argz, size_t *argz_len)
140  {  {
141    error_t err;    error_t err;
142    
# Line 166  main (int argc, char **argv) Line 166  main (int argc, char **argv)
166                              &store_parsed, &bootstrap);                              &store_parsed, &bootstrap);
167    
168    if (store->block_size > DEV_BSIZE)    if (store->block_size > DEV_BSIZE)
169      error (4, 0, "%s: Bad device block size %d (should be <= %d)",      error (4, 0, "%s: Bad device block size %zd (should be <= %d)",
170             diskfs_disk_name, store->block_size, DEV_BSIZE);             diskfs_disk_name, store->block_size, DEV_BSIZE);
171    if (store->size < SBSIZE + SBOFF)    if (store->size < SBSIZE + SBOFF)
172      error (5, 0, "%s: Disk too small (%Ld bytes)", diskfs_disk_name,      error (5, 0, "%s: Disk too small (%Ld bytes)", diskfs_disk_name,

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26