diff --git a/pkgs/applications/virtualization/qemu/9p-darwin.patch b/pkgs/applications/virtualization/qemu/9p-darwin.patch index 11ba4b8db207d..ac282632cbe43 100644 --- a/pkgs/applications/virtualization/qemu/9p-darwin.patch +++ b/pkgs/applications/virtualization/qemu/9p-darwin.patch @@ -323,7 +323,7 @@ index c40bfd50a1..9ee66ba5c2 100644 + * However, it does not appear to be supported on all file systems, + * so use telldir for correctness. + */ -+ return v9fs_co_telldir(pdu, fidp); ++ return telldir(fidp->fs.dir.stream); +#else + return dent->d_off; +#endif @@ -381,7 +381,7 @@ index 1f70a58df5..5a4109eab8 100644 size += len; +#ifdef CONFIG_DARWIN -+ saved_dir_pos = v9fs_co_telldir(pdu, fidp); ++ saved_dir_pos = telldir(fidp->fs.dir.stream); +#else saved_dir_pos = dent->d_off; +#endif