quotacheck.c (37e18df37da46cf9e08bc22bf8112fa270d7d8ce) | quotacheck.c (fb14e73cb4062d7272ce6183d748adedd868906b) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1980, 1990, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Robert Elz at The University of Melbourne. --- 307 unchanged lines hidden (view full) --- 316 } 317 if (qfg) { 318 if (stat(quota_qfname(qfg), &sb) == 0) { 319 groupino = sb.st_ino; 320 groupdev = sb.st_dev; 321 } 322 } 323 sync(); | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1980, 1990, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Robert Elz at The University of Melbourne. --- 307 unchanged lines hidden (view full) --- 316 } 317 if (qfg) { 318 if (stat(quota_qfname(qfg), &sb) == 0) { 319 groupino = sb.st_ino; 320 groupdev = sb.st_dev; 321 } 322 } 323 sync(); |
324 if ((ret = sbget(fi, &fs, -1)) != 0) { | 324 if ((ret = sbget(fi, &fs, STDSB)) != 0) { |
325 switch (ret) { 326 case ENOENT: 327 warn("Cannot find file system superblock"); 328 return (1); 329 default: 330 warn("Unable to read file system superblock"); 331 return (1); 332 } --- 392 unchanged lines hidden --- | 325 switch (ret) { 326 case ENOENT: 327 warn("Cannot find file system superblock"); 328 return (1); 329 default: 330 warn("Unable to read file system superblock"); 331 return (1); 332 } --- 392 unchanged lines hidden --- |