git » libjio » commit e4d35a3

There's a typo in J_ROLLBACKING's value, it's 3 where it should be 4 because we're using it as a flag.

author Alberto Bertogli
2004-07-29 02:44:56 UTC
committer Alberto Bertogli
2007-07-15 13:17:15 UTC
parent 793cc2c34623023bc254ddcceac57862f986accc

There's a typo in J_ROLLBACKING's value, it's 3 where it should be 4 because we're using it as a flag.

There's a typo in J_ROLLBACKING's value, it's 3 where it should be 4 because
we're using it as a flag.

libjio.h +1 -1

diff --git a/libjio.h b/libjio.h
index 9e57ffe..e4b7f4a 100644
--- a/libjio.h
+++ b/libjio.h
@@ -140,7 +140,7 @@ FILE *jfsopen(struct jfs *stream, const char *mode);
 /* jtrans constants */
 #define J_COMMITED	1	/* mark a transaction as commited */
 #define J_ROLLBACKED	2	/* mark a transaction as rollbacked */
-#define J_ROLLBACKING	3	/* mark a transaction as rollbacking */
+#define J_ROLLBACKING	4	/* mark a transaction as rollbacking */
 
 /* disk constants */
 #define J_DISKHEADSIZE	 12	/* length of disk_header */