Page MenuHomeFreeBSD

D30368.diff
No OneTemporary

D30368.diff

diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c
--- a/usr.sbin/kldxref/kldxref.c
+++ b/usr.sbin/kldxref/kldxref.c
@@ -716,7 +716,7 @@
if (stat(argv[0], &sb) != 0)
err(1, "%s", argv[0]);
- if ((sb.st_mode & S_IFDIR) == 0) {
+ if ((sb.st_mode & S_IFDIR) == 0 && !dflag) {
errno = ENOTDIR;
err(1, "%s", argv[0]);
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 7:02 AM (17 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16080648
Default Alt Text
D30368.diff (349 B)

Event Timeline