PERFORCE change 127913 for review
John Birrell
jb at FreeBSD.org
Sun Oct 21 21:04:59 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=127913
Change 127913 by jb at jb_freebsd1 on 2007/10/22 04:04:08
Display the full path to the module too.
Affected files ...
.. //depot/projects/dtrace/src/sbin/kldstat/kldstat.c#4 edit
.. //depot/projects/dtrace6/src/sbin/kldstat/kldstat.c#2 edit
Differences ...
==== //depot/projects/dtrace/src/sbin/kldstat/kldstat.c#4 (text+ko) ====
@@ -60,9 +60,9 @@
if (kldstat(fileid, &stat) < 0)
warn("can't stat file id %d", fileid);
else
- printf("%2d %4d %p %-8jx %s\n",
+ printf("%2d %4d %p %-8jx %s (%s)\n",
stat.id, stat.refs, stat.address, (uintmax_t)stat.size,
- stat.name);
+ stat.name, stat.pathname);
if (verbose) {
printf("\tContains modules:\n");
==== //depot/projects/dtrace6/src/sbin/kldstat/kldstat.c#2 (text+ko) ====
@@ -60,9 +60,9 @@
if (kldstat(fileid, &stat) < 0)
warn("can't stat file id %d", fileid);
else
- printf("%2d %4d %p %-8jx %s\n",
+ printf("%2d %4d %p %-8jx %s (%s)\n",
stat.id, stat.refs, stat.address, (uintmax_t)stat.size,
- stat.name);
+ stat.name, stat.pathname);
if (verbose) {
printf("\tContains modules:\n");
More information about the p4-projects
mailing list