umount.c (3468b317cb93827fbbd4b835f5c233804bc5203c) | umount.c (5965373e69ca208cedd8ede9716ef0d58e6c3434) |
---|---|
1/*- 2 * Copyright (c) 1980, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 186 unchanged lines hidden (view full) --- 195 } 196 (void)getmntname(NULL, NULL, NOTHING, NULL, FREE); 197 exit(errs); 198} 199 200int 201umountall(char **typelist) 202{ | 1/*- 2 * Copyright (c) 1980, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 186 unchanged lines hidden (view full) --- 195 } 196 (void)getmntname(NULL, NULL, NOTHING, NULL, FREE); 197 exit(errs); 198} 199 200int 201umountall(char **typelist) 202{ |
203 struct vfsconf vfc; | 203 struct xvfsconf vfc; |
204 struct fstab *fs; 205 int rval; 206 char *cp; 207 static int firstcall = 1; 208 209 if ((fs = getfsent()) != NULL) 210 firstcall = 0; 211 else if (firstcall) --- 545 unchanged lines hidden --- | 204 struct fstab *fs; 205 int rval; 206 char *cp; 207 static int firstcall = 1; 208 209 if ((fs = getfsent()) != NULL) 210 firstcall = 0; 211 else if (firstcall) --- 545 unchanged lines hidden --- |