basic/fileio: minor coding style cleanup

Follow-up for bbec1c87d3
This commit is contained in:
Mike Yuan
2024-11-27 14:33:23 +01:00
parent 92033d8fba
commit 7a719510c8
2 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -322,8 +322,7 @@ int write_string_file_full(
mode_t mode = write_string_file_flags_to_mode(flags);
if (FLAGS_SET(flags, WRITE_STRING_FILE_LABEL|WRITE_STRING_FILE_CREATE)) {
const char *lookup = label_fn ? label_fn : fn;
r = label_ops_pre(dir_fd, lookup, mode);
r = label_ops_pre(dir_fd, label_fn ?: fn, mode);
if (r < 0)
goto fail;