Page MenuHomeFreeBSD

D10046.id.diff
No OneTemporary

D10046.id.diff

Index: head/sbin/tunefs/tunefs.c
===================================================================
--- head/sbin/tunefs/tunefs.c
+++ head/sbin/tunefs/tunefs.c
@@ -377,7 +377,7 @@
warnx("%s cannot be enabled until fsck is run",
name);
} else if (journal_alloc(Svalue) != 0) {
- warnx("%s can not be enabled", name);
+ warnx("%s cannot be enabled", name);
} else {
sblock.fs_flags |= FS_DOSOFTDEP | FS_SUJ;
warnx("%s set", name);
@@ -966,8 +966,10 @@
* If the journal file exists we can't allocate it.
*/
ino = journal_findfile();
- if (ino == (ino_t)-1)
+ if (ino == (ino_t)-1) {
+ warnx("journal_findfile() failed.");
return (-1);
+ }
if (ino > 0) {
warnx("Journal file %s already exists, please remove.",
SUJ_FILE);

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 19, 11:02 AM (20 m, 31 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31763844
Default Alt Text
D10046.id.diff (783 B)

Event Timeline