mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
basic: fix hosed return value in skip_session()
../src/basic/cgroup-util.c: In function ‘skip_session’: ../src/basic/cgroup-util.c:1241:32: error: incompatible types when returning type ‘_Bool’ but ‘const char *’ was expected 1241 | return false;
This commit is contained in:
committed by
Luca Boccassi
parent
8d41101a4a
commit
db8e720984
@@ -1238,7 +1238,7 @@ static const char *skip_session(const char *p) {
|
||||
* here. */
|
||||
|
||||
if (!session_id_valid(buf))
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
p += n;
|
||||
p += strspn(p, "/");
|
||||
|
||||
Reference in New Issue
Block a user