Skip to content

Commit 2788883

Browse files
committed
bad read cerr
1 parent 0f5d2f1 commit 2788883

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MIDAS/src/hilsim/stream/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,9 @@ int main(int argc, char** argv) {
211211
if(read_entry(entry)) {
212212
printf("DEBUG ENTRY [%u]: (%u) <size: %uB> (CRC 0x%x)\n", entry.ts, entry.disc, entry._data_size, entry.crc);
213213
fflush(stdin);
214-
}
214+
} else {
215+
std::cerr << "oops" << std::endl;
216+
}
215217
}
216218
} else {
217219
std::cerr << "No file specified" << std::endl;

0 commit comments

Comments
 (0)