Deleted Added
full compact
main.c (23844) main.c (31903)
1/*
2 * Copyright (c) 1980, 1986, 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

--- 181 unchanged lines hidden (view full) ---

190 (void)signal(SIGQUIT, voidquit);
191 cdevname = filesys;
192 if (debug && preen)
193 pwarn("starting\n");
194 switch (setup(filesys)) {
195 case 0:
196 if (preen)
197 pfatal("CAN'T CHECK FILE SYSTEM.");
1/*
2 * Copyright (c) 1980, 1986, 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

--- 181 unchanged lines hidden (view full) ---

190 (void)signal(SIGQUIT, voidquit);
191 cdevname = filesys;
192 if (debug && preen)
193 pwarn("starting\n");
194 switch (setup(filesys)) {
195 case 0:
196 if (preen)
197 pfatal("CAN'T CHECK FILE SYSTEM.");
198 /* fall through */
198 return (0);
199 case -1:
200 pwarn("clean, %ld free ", sblock.fs_cstotal.cs_nffree +
201 sblock.fs_frag * sblock.fs_cstotal.cs_nbfree);
202 printf("(%ld frags, %ld blocks, %.1f%% fragmentation)\n",
203 sblock.fs_cstotal.cs_nffree,
204 sblock.fs_cstotal.cs_nbfree,
205 (float)(sblock.fs_cstotal.cs_nffree * 100) /
206 sblock.fs_dsize);

--- 146 unchanged lines hidden ---
199 case -1:
200 pwarn("clean, %ld free ", sblock.fs_cstotal.cs_nffree +
201 sblock.fs_frag * sblock.fs_cstotal.cs_nbfree);
202 printf("(%ld frags, %ld blocks, %.1f%% fragmentation)\n",
203 sblock.fs_cstotal.cs_nffree,
204 sblock.fs_cstotal.cs_nbfree,
205 (float)(sblock.fs_cstotal.cs_nffree * 100) /
206 sblock.fs_dsize);

--- 146 unchanged lines hidden ---