summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-11-20 04:50:52 +0100
committerlaforge <laforge@osmocom.org>2019-11-23 07:58:47 +0000
commitc5b71752d5111278360404587a8776b75848fd9a (patch)
tree88fcaa2039bff03854b712eca5ca986e1ea09f08 /src
parentf2644aee5525a6f889816c3e0d613e3c7145d01d (diff)
fix DLSMS logging category color: '[1:38m' isn't actually defined
Instead it apparently renders as bright white, so just use that constant instead. Change-Id: Ic775b6e37ccf61dc71a540b41d6a16a8a9291dc2
Diffstat (limited to 'src')
-rw-r--r--src/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c
index 7baa7778..4d6224d5 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -163,7 +163,7 @@ static const struct log_info_cat internal_cat[OSMO_NUM_DLIB] = {
.name = "DLSMS",
.description = "Layer3 Short Message Service (SMS)",
.enabled = 1, .loglevel = LOGL_NOTICE,
- .color = "\033[1;38m",
+ .color = OSMO_LOGCOLOR_BRIGHTWHITE,
},
[INT2IDX(DLCTRL)] = {
.name = "DLCTRL",