Same diff, corrected formatting. Sorry for the noise.
Index: lib/libutil/opendev.c
===================================================================
RCS file: /cvs/src/lib/libutil/opendev.c,v
retrieving revision 1.15
diff -u -p -r1.15 opendev.c
--- lib/libutil/opendev.c 30 Jun 2011 15:04:58 -0000 1.15
+++ lib/libutil/opendev.c 29 Aug 2015 11:46:35 -0000
@@ -79,7 +79,6 @@ opendev(const char *path, int oflags, in
if (ioctl(fd, DIOCMAP, &dm) == -1) {
close(fd);
fd = -1;
- errno = ENOENT;
}
}
}- opendev(3): Do not mask errno Steven McDonald
- Re: opendev(3): Do not mask errno Steven McDonald
