summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2004-02-10 23:36:02 +0000
committermickey <mickey@openbsd.org>2004-02-10 23:36:02 +0000
commitf022eafa0211f8d18aaea1b44ffc3a6856ae51c5 (patch)
tree0c03b2a6dc7243f731101566e5becfe224e44eb4
parentenforce config file secrecy (correct owner, no rights for group/world) (diff)
downloadwireguard-openbsd-f022eafa0211f8d18aaea1b44ffc3a6856ae51c5.tar.xz
wireguard-openbsd-f022eafa0211f8d18aaea1b44ffc3a6856ae51c5.zip
repair frame size; makes tr work
-rw-r--r--usr.bin/pmdb/arch/amd64/x86_64.c6
-rw-r--r--usr.bin/pmdb/arch/x86_64/x86_64.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/pmdb/arch/amd64/x86_64.c b/usr.bin/pmdb/arch/amd64/x86_64.c
index 2cd2d5c3966..4c27232328c 100644
--- a/usr.bin/pmdb/arch/amd64/x86_64.c
+++ b/usr.bin/pmdb/arch/amd64/x86_64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x86_64.c,v 1.1 2004/01/29 12:44:40 mickey Exp $ */
+/* $OpenBSD: x86_64.c,v 1.2 2004/02/10 23:36:02 mickey Exp $ */
/*
* Copyright (c) 2002 Federico Schwindt <fgsch@openbsd.org>
@@ -36,8 +36,8 @@
* No frame for x86?
*/
struct frame {
- int fp;
- int pc;
+ long fp;
+ long pc;
};
static const char *md_reg_names[] = {
diff --git a/usr.bin/pmdb/arch/x86_64/x86_64.c b/usr.bin/pmdb/arch/x86_64/x86_64.c
index 2cd2d5c3966..4c27232328c 100644
--- a/usr.bin/pmdb/arch/x86_64/x86_64.c
+++ b/usr.bin/pmdb/arch/x86_64/x86_64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x86_64.c,v 1.1 2004/01/29 12:44:40 mickey Exp $ */
+/* $OpenBSD: x86_64.c,v 1.2 2004/02/10 23:36:02 mickey Exp $ */
/*
* Copyright (c) 2002 Federico Schwindt <fgsch@openbsd.org>
@@ -36,8 +36,8 @@
* No frame for x86?
*/
struct frame {
- int fp;
- int pc;
+ long fp;
+ long pc;
};
static const char *md_reg_names[] = {