1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: using 'long unsigned int' instead of 'int'
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2021-09-20
Index: secure-delete-test/srm.c
===================================================================
--- secure-delete-test.orig/srm.c
+++ secure-delete-test/srm.c
@@ -66,7 +66,7 @@ int smash_it(char *filename, int mode)
return 1;
if (S_ISREG(filestat.st_mode) && filestat.st_nlink > 1) {
- fprintf(stderr, "Error: File %s - file is hardlinked %d time(s), skipping!\n", filename, filestat.st_nlink - 1);
+ fprintf(stderr, "Error: File %s - file is hardlinked %ld time(s), skipping!\n", filename, filestat.st_nlink - 1);
return -1;
}
|