aboutsummaryrefslogtreecommitdiff
path: root/mycan.c
diff options
context:
space:
mode:
Diffstat (limited to 'mycan.c')
-rw-r--r--mycan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mycan.c b/mycan.c
index 7320b87..e534340 100644
--- a/mycan.c
+++ b/mycan.c
@@ -106,12 +106,12 @@ int main(int argc, char **argv)
remain=offset%ENTRY_SIZE;
if(remain)
{
- printf(".csv file not a multiple of %d, remove last line\n",ENTRY_SIZE);
+ printf("Corrupted .csv file not a multiple of %d, removing last line\n",ENTRY_SIZE);
truncate(filename,offset-remain);
}
else if(ch != '\n')
{
- printf(".csv file last char not newline, remove last line\n");
+ printf("Corrupted .csv file last char not newline, removing last line\n");
truncate(filename,offset-ENTRY_SIZE);
}
}