summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libmisc/shell/main_lsof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/main_lsof.c b/cpukit/libmisc/shell/main_lsof.c
index ed0c87c1de..2c6ece1653 100644
--- a/cpukit/libmisc/shell/main_lsof.c
+++ b/cpukit/libmisc/shell/main_lsof.c
@@ -44,7 +44,7 @@ static void lsof(void)
mt_entry->writeable ? 'W' : 'R',
mt_entry->type,
mt_entry->target,
- mt_entry->dev,
+ mt_entry->dev == NULL ? "none" : mt_entry->dev,
mt_entry->mt_fs_root,
mt_entry->mt_fs_root->location.node_access
);