os: avoid using deprecated APIs

Issue #1987
Issue #3125
This commit is contained in:
Norman Feske
2019-01-21 10:48:39 +01:00
parent cb36d96569
commit 6b94e65a95
116 changed files with 995 additions and 1271 deletions

View File

@ -273,7 +273,7 @@ class Block::Root :
Session_policy policy(label, _config);
/* read partition attribute */
policy.attribute("partition").value(&num);
num = policy.attribute_value("partition", -1L);
/* sessions are not writeable by default */
writeable = policy.attribute_value("writeable", false);