aboutsummaryrefslogtreecommitdiff
path: root/include/aout/hp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aout/hp.h')
-rw-r--r--include/aout/hp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/aout/hp.h b/include/aout/hp.h
index be27668..91b77bd 100644
--- a/include/aout/hp.h
+++ b/include/aout/hp.h
@@ -60,10 +60,10 @@ struct exec
#undef N_SET_MACHTYPE
#undef N_SET_FLAGS
-#define N_MAGIC(exec) ((exec) . a_magic)
-#define N_MACHTYPE(exec) ((exec) . a_machtype)
-#define N_SET_MAGIC(exec, magic) (((exec) . a_magic) = (magic))
-#define N_SET_MACHTYPE(exec, machtype) (((exec) . a_machtype) = (machtype))
+#define N_MAGIC(execp) ((execp)->a_magic)
+#define N_MACHTYPE(execp) ((execp)->a_machtype)
+#define N_SET_MAGIC(execp, magic) (((execp)->a_magic) = (magic))
+#define N_SET_MACHTYPE(execp, machtype) (((execp)->a_machtype) = (machtype))
#undef N_BADMAG
#define N_BADMAG(x) ((_N_BADMAG (x)) || (_N_BADMACH (x)))