]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
creds: fix return type from normalize_separator()
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 9 Oct 2025 08:33:02 +0000 (10:33 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 9 Oct 2025 11:09:06 +0000 (12:09 +0100)
Follow-up for 097374f3b904e0649db8b0385b3ee66e1bf0a7d6

src/creds/creds.c

index e861225dbe7cc8f5120d54a0468b335ce2bdb6f8..92b527270d1b5c6b6c52aaf5fe8648b99ebc31e3 100644 (file)
@@ -1232,7 +1232,7 @@ static int settle_scope(
         return 0;
 }
 
-static bool normalize_separator(char c) {
+static char normalize_separator(char c) {
         if (IN_SET(c, '-', '+', '_'))
                 return '_';