aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt3
-rw-r--r--offsets.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 1a6c086..eb67560 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,6 @@
+2010-08-26:
+ * (seebs) make offsets.c slightly less useless
+
2010-08-25:
* (seebs) fix the signal mask restore
diff --git a/offsets.c b/offsets.c
index 58298ef..7e59d05 100644
--- a/offsets.c
+++ b/offsets.c
@@ -36,7 +36,7 @@ main(void) {
printf("type: %d\n", (int) offsetof(pseudo_msg_t, type));
printf("op: %d\n", (int) offsetof(pseudo_msg_t, op));
printf("result: %d\n", (int) offsetof(pseudo_msg_t, result));
- printf("rwx: %d\n", (int) offsetof(pseudo_msg_t, rwx));
+ printf("access: %d\n", (int) offsetof(pseudo_msg_t, access));
printf("client: %d\n", (int) offsetof(pseudo_msg_t, client));
printf("dev: %d\n", (int) offsetof(pseudo_msg_t, dev));
printf("ino: %d\n", (int) offsetof(pseudo_msg_t, ino));
@@ -45,6 +45,8 @@ main(void) {
printf("mode: %d\n", (int) offsetof(pseudo_msg_t, mode));
printf("rdev: %d\n", (int) offsetof(pseudo_msg_t, rdev));
printf("pathlen: %d\n", (int) offsetof(pseudo_msg_t, pathlen));
+ printf("nlink: %d\n", (int) offsetof(pseudo_msg_t, nlink));
+ printf("deleting: %d\n", (int) offsetof(pseudo_msg_t, deleting));
printf("path: %d\n", (int) offsetof(pseudo_msg_t, path));
printf("size: %d\n", (int) sizeof(pseudo_msg_t));
return 0;