mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-07-25 10:38:56 +00:00
fsck: also print the version of the util library
This information is considered useful, since online fsck requires the utility library (for its sandboxing feature).
This commit is contained in:
parent
9703f42c0c
commit
c90cb669f2
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
||||||
#include "backend.h"
|
#include "backend.h"
|
||||||
#include "fsck_ops.h"
|
#include "fsck_ops.h"
|
||||||
#include "ioctl.h"
|
#include "ioctl.h"
|
||||||
|
#include "lib.h"
|
||||||
#include "macros.h"
|
#include "macros.h"
|
||||||
#include "sandbox.h"
|
#include "sandbox.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
@ -202,6 +203,8 @@ print_version (void)
|
||||||
BOOKMARKFS_VER_MAJOR, BOOKMARKFS_VER_MINOR, BOOKMARKFS_VER_PATCH);
|
BOOKMARKFS_VER_MAJOR, BOOKMARKFS_VER_MINOR, BOOKMARKFS_VER_PATCH);
|
||||||
puts(BOOKMARKFS_FEATURE_STRING(DEBUG, "debug"));
|
puts(BOOKMARKFS_FEATURE_STRING(DEBUG, "debug"));
|
||||||
puts(BOOKMARKFS_FEATURE_STRING(INTERACTIVE_FSCK, "interactive"));
|
puts(BOOKMARKFS_FEATURE_STRING(INTERACTIVE_FSCK, "interactive"));
|
||||||
|
|
||||||
|
bookmarkfs_print_lib_version("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Add table
Reference in a new issue