From c90cb669f296873108c4a52426b0ff24c7b7f821 Mon Sep 17 00:00:00 2001 From: CismonX Date: Wed, 25 Jun 2025 23:50:35 +0800 Subject: [PATCH] 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). --- src/fsck_online.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fsck_online.c b/src/fsck_online.c index 2477db5..7c23c15 100644 --- a/src/fsck_online.c +++ b/src/fsck_online.c @@ -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