- printf("lseek failed to seek\n");
- }
- else {
- printf("lseek returned a different position to the expeced position\n");
+ print_message("lseek failed to seek\n",2);
+ } else {
+ print_message("lseek returned a different position to the expeced position\n", 2);