Fix quick typo in fsync() --ftrace

This commit is contained in:
Justine Tunney 2023-03-30 16:17:40 -07:00
parent 4ad4c2625d
commit 221adfa606
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -47,7 +47,7 @@ int fsync(int fd) {
rc = sys_fdatasync_nt(fd); rc = sys_fdatasync_nt(fd);
} }
END_CANCELLATION_POINT; END_CANCELLATION_POINT;
STRACE("fysnc(%d) → %d% m", fd, rc); STRACE("fsync(%d) → %d% m", fd, rc);
} else { } else {
rc = fstat(fd, &st); rc = fstat(fd, &st);
STRACE("fsync_fake(%d) → %d% m", fd, rc); STRACE("fsync_fake(%d) → %d% m", fd, rc);