mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
execute: passing NULL as second argument for recurse_dir() is equivalent to ""
This commit is contained in:
parent
1451435ca5
commit
3691083ce5
@ -2832,7 +2832,7 @@ static int acquire_credentials(
|
||||
|
||||
r = recurse_dir(
|
||||
sub_fd,
|
||||
/* path= */ "",
|
||||
/* path= */ NULL,
|
||||
/* statx_mask= */ 0,
|
||||
/* n_depth_max= */ UINT_MAX,
|
||||
RECURSE_DIR_IGNORE_DOT|RECURSE_DIR_ENSURE_TYPE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user