Address compiler warnings in C code used by the DTrace test suite.Reported by: JenkinsMFC after: 1 week
Tweak the fds test program so that it actually compiles. Also use 0 insteadof -1 for the bogus ioctl command so that dmesg doesn't get spammed withsign extension warnings when the test program runs
Tweak the fds test program so that it actually compiles. Also use 0 insteadof -1 for the bogus ioctl command so that dmesg doesn't get spammed withsign extension warnings when the test program runs.MFC after: 1 week
show more ...
Add missing file permission to open(O_CREAT) call. This doesn't really matterhere, as we open /dev/null for test purposes, but it is useful for consistencyand further grepping for such bugs.
This commit was generated by cvs2svn to compensate for changes in r178476,which included commits to RCS files with non-trunk default branches.