Commit 82708eb352bd8956dd7b2679c9b9f11015c45c6b

Stefan Sperling 2017-12-03T17:47:40

fix pack file magic value

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/pack.h b/lib/pack.h
index 3961f52..99603fc 100644
--- a/lib/pack.h
+++ b/lib/pack.h
@@ -62,7 +62,7 @@ struct got_packidx_v2_hdr {
 
 struct got_packfile_hdr {
 	uint32_t	signature;
-#define GOT_PACKFILE_SIGNATURE	0x4041434b	/* 'P' 'A' 'C' 'K' */
+#define GOT_PACKFILE_SIGNATURE	0x5041434b	/* 'P' 'A' 'C' 'K' */
 	uint32_t	version;	/* big endian */
 #define GOT_PACKFILE_VERSION 2
 	uint32_t	nobjects;	/* big endian */