summaryrefslogtreecommitdiffhomepage
path: root/src/driver/slbt_amain.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 02:41:15 +0000
committermidipix <writeonce@midipix.org>2024-02-19 02:59:31 +0000
commitf0270acfad9d499f6a701d1df1cb08f09412eb93 (patch)
tree724943605aaf3328ea1b306e31687b518997dc12 /src/driver/slbt_amain.c
parentea41378c1731e3d3b0faff05346d1aac467823b0 (diff)
downloadslibtool-f0270acfad9d499f6a701d1df1cb08f09412eb93.tar.bz2
slibtool-f0270acfad9d499f6a701d1df1cb08f09412eb93.tar.xz
library api's: _api_ (package information) namespace overhaul.
Diffstat (limited to 'src/driver/slbt_amain.c')
-rw-r--r--src/driver/slbt_amain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index 2ff5338..86d5dd5 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -41,7 +41,7 @@ static ssize_t slbt_version(struct slbt_driver_ctx * dctx, int fdout)
const char * const * verclr;
bool gitver;
- verinfo = slbt_source_version();
+ verinfo = slbt_api_source_version();
verclr = isatty(fdout) ? slbt_ver_color : slbt_ver_plain;
gitver = strcmp(verinfo->commit,"unknown");