Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108267562
D30368.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
349 B
Referenced Files
None
Subscribers
None
D30368.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D30368: kldxref: do not error out if specified path is not directory, for -d mode
Attached
Detach File
Event Timeline
Log In to Comment