Page MenuHomeFreeBSD

D10046.id26390.diff
No OneTemporary

D10046.id26390.diff

Index: sbin/tunefs/tunefs.c
===================================================================
--- sbin/tunefs/tunefs.c
+++ sbin/tunefs/tunefs.c
@@ -348,7 +348,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);
@@ -889,8 +889,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
Wed, Aug 26, 3:33 PM (9 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37293210
Default Alt Text
D10046.id26390.diff (1 KB)

Event Timeline