/[hurd]/hurd/ufs-utils/mkfs.c
ViewVC logotype

Diff of /hurd/ufs-utils/mkfs.c

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

revision 1.21 by roland, Tue Jun 11 21:43:19 2002 UTC revision 1.21.2.1 by ams, Mon Oct 31 00:23:53 2005 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 1980, 1989, 1993   * Copyright (c) 1980, 1989, 1993, 2005
3   *      The Regents of the University of California.  All rights reserved.   *      The Regents of the University of California.  All rights reserved.
4   *   *
5   * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
# Line 279  main (int argc, char **argv) Line 279  main (int argc, char **argv)
279          case 'N': Nflag = 1; break;          case 'N': Nflag = 1; break;
280          case 'O': Oflag = 1; break;          case 'O': Oflag = 1; break;
281    
282            /* Mark &VAR as being a uparam, and return a lvalue for VAR.  */  /* Mark &VAR as being a uparam, and set VAR.  */
283  #define UP(var) (amarks_add (&uparams, &var), var)  #define UP_INT(var) { amarks_add (&uparams, &var); var = atoi (arg); }
           /* Record an integer uparam into VAR.  */  
 #define UP_INT(var) { int _i = atoi (arg); UP (var) = _i; }  
284    
285          case 'a': UP_INT (maxcontig); break;          case 'a': UP_INT (maxcontig); break;
286          case 'b': UP_INT (bsize); break;          case 'b': UP_INT (bsize); break;

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.21.2.1

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