Commit 743578a6 authored by Adam Wujek's avatar Adam Wujek 💬

libtools: add new line at "cannot open device" error

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 52a78da9
......@@ -864,7 +864,7 @@ int main(int argc, char *argv[])
/*acq.value[FMCADC_CONF_ACQ_N_SHOTS]*/ 0,
FMCADC_F_FLUSH /*0*/);
if (!adc) {
fprintf(stderr, "%s: cannot open device: %s",
fprintf(stderr, "%s: cannot open device: %s\n",
argv[0], fmcadc_strerror(errno));
exit(1);
}
......
......@@ -85,7 +85,7 @@ int main (int argc, char *argv[])
adc = fmcadc_open("fmc-adc-100m14b4cha", devid, 0, 0, FMCADC_F_FLUSH);
if (!adc) {
fprintf(stderr, "%s: cannot open device: %s",
fprintf(stderr, "%s: cannot open device: %s\n",
argv[0], fmcadc_strerror(errno));
exit(1);
}
......
......@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
nshots,
FMCADC_F_FLUSH);
if (!adc) {
fprintf(stderr, "%s: cannot open device: %s",
fprintf(stderr, "%s: cannot open device: %s\n",
argv[0], fmcadc_strerror(errno));
exit(1);
}
......
......@@ -71,7 +71,7 @@ int main(int argc, char *argv[])
/* no buffers expexted */ 0, 0,
/* no flush either */ 0);
if (!adc) {
fprintf(stderr, "%s: cannot open device: %s",
fprintf(stderr, "%s: cannot open device: %s\n",
argv[0], fmcadc_strerror(errno));
exit(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment