aboutsummaryrefslogtreecommitdiff
path: root/mycan.c
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-05-07 20:23:13 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-05-07 20:23:13 -0700
commit8b9c5d8f1ca155c0ae1d98f2f3763560fe1c2fb3 (patch)
tree4797b703df783c6a2dac0d2ef42307d70747ba01 /mycan.c
parenta936ca5d68aa04a906796399958a55cb1f65bc84 (diff)
better print
Diffstat (limited to 'mycan.c')
-rw-r--r--mycan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mycan.c b/mycan.c
index efaafb4..e7202d5 100644
--- a/mycan.c
+++ b/mycan.c
@@ -106,7 +106,7 @@ int main(int argc, char **argv)
}
else if(ch != '\n')
{
- printf("Corrupted .csv file last char not newline, removing last line\n");
+ printf("Corrupted .csv file last character not \\n, removing last %d bytes of data\n",ENTRY_SIZE);
truncate(filename,offset-ENTRY_SIZE);
}
else