main.c (6149ed01a126d468431ecc4d20d0c00cb0040554) | main.c (fb14e73cb4062d7272ce6183d748adedd868906b) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1980, 1991, 1993, 1994 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 419 unchanged lines hidden (view full) --- 428 if (dt != NULL) 429 msgtail("(%s) ", dt->fs_file); 430 if (host) 431 msgtail("to %s on host %s\n", tape, host); 432 else 433 msgtail("to %s\n", tape); 434 435 sync(); | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1980, 1991, 1993, 1994 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 419 unchanged lines hidden (view full) --- 428 if (dt != NULL) 429 msgtail("(%s) ", dt->fs_file); 430 if (host) 431 msgtail("to %s on host %s\n", tape, host); 432 else 433 msgtail("to %s\n", tape); 434 435 sync(); |
436 if ((ret = sbget(diskfd, &sblock, -1)) != 0) { | 436 if ((ret = sbget(diskfd, &sblock, STDSB)) != 0) { |
437 switch (ret) { 438 case ENOENT: 439 warn("Cannot find file system superblock"); 440 return (1); 441 default: 442 warn("Unable to read file system superblock"); 443 return (1); 444 } --- 329 unchanged lines hidden --- | 437 switch (ret) { 438 case ENOENT: 439 warn("Cannot find file system superblock"); 440 return (1); 441 default: 442 warn("Unable to read file system superblock"); 443 return (1); 444 } --- 329 unchanged lines hidden --- |