NiGHt-LEshiY/om_master — comment on commit b9e46de5491e0b63ae5da274d97dde850f590910
File:  line 0
By NiGHt-LEshiY:

Linux: res = sendfile(sockfd, filefd, NULL, fileinfo.st_size);
FreeBSD: res = sendfile(filefd, sockfd, 0, 0, &sf_header, NULL, 0);

sendfile() is used in both systems, but their invocation differs, as you can see.