mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
nspawn: fix build failure
This fixes a conflict between #19555 and #19653.
This commit is contained in:
committed by
Lennart Poettering
parent
1539124b39
commit
354dadb30f
@@ -205,7 +205,6 @@ int bind_user_prepare(
|
||||
|
||||
_cleanup_(bind_user_context_freep) BindUserContext *c = NULL;
|
||||
uid_t current_uid = MAP_UID_START;
|
||||
size_t n_allocated = 0;
|
||||
char **n;
|
||||
int r;
|
||||
|
||||
@@ -282,7 +281,7 @@ int bind_user_prepare(
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
if (!GREEDY_REALLOC(c->data, n_allocated, c->n_data + 1))
|
||||
if (!GREEDY_REALLOC(c->data, c->n_data + 1))
|
||||
return log_oom();
|
||||
|
||||
sm = strdup(u->home_directory);
|
||||
|
||||
Reference in New Issue
Block a user