various: move const ptr indicator to return value
This commit is contained in:
+1
-1
@@ -1091,7 +1091,7 @@ int fds_are_same_mount(int fd1, int fd2) {
|
||||
return statx_mount_same(&st1.nsx, &st2.nsx);
|
||||
}
|
||||
|
||||
const char *accmode_to_string(int flags) {
|
||||
const char* accmode_to_string(int flags) {
|
||||
switch (flags & O_ACCMODE) {
|
||||
case O_RDONLY:
|
||||
return "ro";
|
||||
|
||||
Reference in New Issue
Block a user