From: hackbard Date: Thu, 5 Dec 2002 00:01:05 +0000 (+0000) Subject: -- X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=3242f8111d2b9c342edb91797ca895be7996400a;p=my-code%2Fhdw-sniff.git -- --- diff --git a/hdw-sniff.c b/hdw-sniff.c index 7a549e5..ff492f6 100644 --- a/hdw-sniff.c +++ b/hdw-sniff.c @@ -54,9 +54,10 @@ int main(int argc, char *argv[]) { else { if((file_fd=open(argv[3],O_RDWR | O_CREAT))!=0) { printf("writing to logfile %s ...\n",argv[3]); + dprintf(file_fd,"|iv - --|id|crypted_snap - --|\n"); } else { - printf("can't open logfile!\n"); + printf("can't open logfile. not logged to file!\n"); } }