projects
/
my-code
/
hdw-sniff.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d88777
)
--
author
hackbard
<hackbard>
Thu, 5 Dec 2002 00:01:05 +0000
(
00:01
+0000)
committer
hackbard
<hackbard>
Thu, 5 Dec 2002 00:01:05 +0000
(
00:01
+0000)
hdw-sniff.c
patch
|
blob
|
history
diff --git
a/hdw-sniff.c
b/hdw-sniff.c
index
7a549e5
..
ff492f6
100644
(file)
--- 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");
}
}