summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-02-13 17:40:34 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-02-13 17:40:34 +0100
commitf08ec5dd017eecb20b69e664d9b80184969d08d9 (patch)
tree9390dabf225a1e04e3d7f5c89daa0f1d167fc885
parent76146a471dc385b371e92418d67506842f7dbe8b (diff)
downloadpcitool-f08ec5dd017eecb20b69e664d9b80184969d08d9.tar.gz
pcitool-f08ec5dd017eecb20b69e664d9b80184969d08d9.tar.bz2
pcitool-f08ec5dd017eecb20b69e664d9b80184969d08d9.tar.xz
pcitool-f08ec5dd017eecb20b69e664d9b80184969d08d9.zip
Print new line
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index cf03c9c..a466944 100644
--- a/pci.c
+++ b/pci.c
@@ -461,7 +461,7 @@ int WriteData(int handle, int bar, unsigned long addr, int n, int access, char *
Read(check, handle, bar, addr, size);
if (memcmp(buf, check, size)) {
- printf("Write failed: the data written and read differ, the foolowing is read back:");
+ printf("Write failed: the data written and read differ, the foolowing is read back:\n");
ReadData(handle, bar, addr, n, access);
exit(-1);
}