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:
CismonX 2025-06-25 23:50:35 +08:00
parent 9703f42c0c
commit c90cb669f2
No known key found for this signature in database
GPG key ID: 3094873E29A482FB

View file

@ -35,6 +35,7 @@
#include "backend.h"
#include "fsck_ops.h"
#include "ioctl.h"
#include "lib.h"
#include "macros.h"
#include "sandbox.h"
#include "version.h"
@ -202,6 +203,8 @@ print_version (void)
BOOKMARKFS_VER_MAJOR, BOOKMARKFS_VER_MINOR, BOOKMARKFS_VER_PATCH);
puts(BOOKMARKFS_FEATURE_STRING(DEBUG, "debug"));
puts(BOOKMARKFS_FEATURE_STRING(INTERACTIVE_FSCK, "interactive"));
bookmarkfs_print_lib_version("\n");
}
static int