aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseebs <seebs@seebs-eee.(none)>2010-08-26 15:44:01 -0500
committerseebs <seebs@seebs-eee.(none)>2010-08-26 15:45:00 -0500
commit281971d456c72865db87599343ca2e50cb6a6b2c (patch)
tree3adb816e00b8749a7ef99aec65dc33d7df244485
parent3b4f502bec4b52c1ee98f60ddf8061add1e4bf54 (diff)
downloadpseudo-281971d456c72865db87599343ca2e50cb6a6b2c.tar.gz
pseudo-281971d456c72865db87599343ca2e50cb6a6b2c.tar.bz2
pseudo-281971d456c72865db87599343ca2e50cb6a6b2c.zip
While looking at a possible 64/32-bit clash (there wasn't one after
all) noticed, that offsets.c was busted. Fixed.
-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;