mirror of
https://github.com/troglobit/finit.git
synced 2026-11-28 20:58:24 +00:00
Fix #260: drop limit on device name in "Checking filesystem" output
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
edc2d53923
commit
a27b8462d1
1 file changed
+1
-1
+1
-1
@@ -257,7 +257,7 @@ static int fsck(int pass)
|
|||||||
snprintf(cmd, sizeof(cmd), "fsck -a %s", dev);
|
snprintf(cmd, sizeof(cmd), "fsck -a %s", dev);
|
||||||
#endif
|
#endif
|
||||||
_d("Running pass %d fsck command %s", pass, cmd);
|
_d("Running pass %d fsck command %s", pass, cmd);
|
||||||
fsck_rc = run_interactive(cmd, "Checking filesystem %.13s", dev);
|
fsck_rc = run_interactive(cmd, "Checking filesystem %s", dev);
|
||||||
/*
|
/*
|
||||||
* "failure" is defined as exiting with a return code of
|
* "failure" is defined as exiting with a return code of
|
||||||
* 2 or larger. A return code of 1 indicates that filesystem
|
* 2 or larger. A return code of 1 indicates that filesystem
|
||||||
|
|||||||
Reference in new issue
Block a user