Changeset 1c1b082 in rtems
- Timestamp:
- 10/10/14 08:26:50 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 8a3e8c1
- Parents:
- 9e34ce0
- git-author:
- Sebastian Huber <sebastian.huber@…> (10/10/14 08:26:50)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (10/10/14 08:28:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libmisc/shell/main_lsof.c
r9e34ce0 r1c1b082 1 1 /* 2 * Copyright (c) 2012 embedded brains GmbH. All rights reserved.2 * Copyright (c) 2012-2014 embedded brains GmbH. All rights reserved. 3 3 * 4 4 * embedded brains GmbH 5 * Obere Lagerstr. 305 * Dornierstr. 4 6 6 * 82178 Puchheim 7 7 * Germany … … 18 18 19 19 #include <stdio.h> 20 #include <inttypes.h> 20 21 21 22 #include <rtems/libio_.h> … … 40 41 fprintf( 41 42 stdout, 42 "%c %c %s %s -> %s root 0x%08 x -> 0x%08x\n",43 "%c %c %s %s -> %s root 0x%08" PRIxPTR " -> 0x%08" PRIxPTR "\n", 43 44 mt_entry->mounted ? 'M' : 'U', 44 45 mt_entry->writeable ? 'W' : 'R', … … 46 47 mt_entry->target, 47 48 mt_entry->dev == NULL ? "none" : mt_entry->dev, 48 (u nsigned)mt_entry->mt_fs_root,49 (u nsigned)mt_entry->mt_fs_root->location.node_access49 (uintptr_t) mt_entry->mt_fs_root, 50 (uintptr_t) mt_entry->mt_fs_root->location.node_access 50 51 ); 51 52 … … 60 61 fprintf( 61 62 stdout, 62 "\t0x%08 x -> 0x%08x\n",63 (u nsigned)loc,64 (u nsigned)loc->node_access63 "\t0x%08" PRIxPTR " -> 0x%08" PRIxPTR "\n", 64 (uintptr_t) loc, 65 (uintptr_t) loc->node_access 65 66 ); 66 67 }
Note: See TracChangeset
for help on using the changeset viewer.