Commit 296eab26b4cf064f76f64511f8adf1794d7737b0

Kano 2013-01-31T23:18:12

Report USB nodev as ZOMBIE on the screen

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/cgminer.c b/cgminer.c
index dfa22ab..8abdcaf 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2012,6 +2012,11 @@ static void curses_print_devstatus(int thr_id)
 	suffix_string(dh64, displayed_hashes, 4);
 	suffix_string(dr64, displayed_rolling, 4);
 
+#if defined(USE_MODMINER) || defined(USE_BITFORCE)
+	if (cgpu->usbinfo.nodev)
+		wprintw(statuswin, "ZOMBIE");
+	else
+#endif
 	if (cgpu->status == LIFE_DEAD)
 		wprintw(statuswin, "DEAD  ");
 	else if (cgpu->status == LIFE_SICK)