Skip to content

Commit 0ec7b93

Browse files
committed
hwloc-calc: print a message when reading locations from stdin
Signed-off-by: Valentin Hoyet <[email protected]> Signed-off-by: Brice Goglin <[email protected]>
1 parent ebb6dbf commit 0ec7b93

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

utils/hwloc/hwloc-calc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ int main(int argc, char *argv[])
526526
#define HWLOC_CALC_LINE_LEN 64
527527
size_t len = HWLOC_CALC_LINE_LEN;
528528
char * line = malloc(len);
529+
printf("Waiting for locations to process on stdin...\n");
529530
while (1) {
530531
char *current, *tmpline;
531532

utils/hwloc/test-hwloc-calc.output

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ PU:22_PU:23_Core:6_Core:7_Group0:2
164164
0x00ffffff
165165

166166
# Reading from stdin
167+
Waiting for locations to process on stdin...
167168
0x00000001
168169
0xf0000000,0x0000000f
169170
0xffff0000,0x0000ffff

0 commit comments

Comments
 (0)