[sr-dev] git:5.6:88560506: core: fix ksr_version_control() for FreeBSD build