summaryrefslogtreecommitdiff
path: root/bsdiff.c
diff options
context:
space:
mode:
authorMatthew Endsley <mendsley@gmail.com>2012-10-23 18:30:15 -0700
committerMatthew Endsley <mendsley@gmail.com>2012-10-23 18:30:15 -0700
commit9807c0d4cdfaff3434429b8e4f45626909fd73cf (patch)
treecdf73ef550d1d8072ee228e3be395028665e3b6f /bsdiff.c
parenta900bc05acfb2a6074a2abf8d9880b8ce0cae4af (diff)
downloadbsdiff-9807c0d4cdfaff3434429b8e4f45626909fd73cf.tar.gz
changing patch header to ENDSLEY/BSDIFF43 for people using the project as a standalone tool
Diffstat (limited to 'bsdiff.c')
-rw-r--r--bsdiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsdiff.c b/bsdiff.c
index 92867d8..3857c01 100644
--- a/bsdiff.c
+++ b/bsdiff.c
@@ -430,7 +430,7 @@ int main(int argc,char *argv[])
/* Write header (signature+newsize)*/
offtout(newsize, buf);
- if (fwrite("BSDIFF40", 8, 1, pf) != 1 ||
+ if (fwrite("ENDSLEY/BSDIFF43", 16, 1, pf) != 1 ||
fwrite(buf, sizeof(buf), 1, pf) != 1)
err(1, "Failed to write header");