Skip to content

Commit 9bd66da

Browse files
committed
Fix compiler warning
1 parent 4443622 commit 9bd66da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/userns_sandbox.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ static void bind_mount(const char *src, const char *dest, char read_only) {
300300
}
301301
}
302302

303-
if (resolved_src[0] == NULL) {
303+
if (resolved_src[0] == '\0') {
304304
strncpy(resolved_src, src, PATH_MAX);
305305
}
306306

0 commit comments

Comments
 (0)