summaryrefslogtreecommitdiff
path: root/usr.bin/pmdb/arch/vax
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-03-19 21:32:11 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-03-19 21:32:11 +0000
commit31e7d538ed5febc04e7da0e389865984145dabe4 (patch)
treed116da00fe6c50af794548d5d9efe993986defb2 /usr.bin/pmdb/arch/vax
parentc8b290c9bd3c08670cc9745fb6fe5de5acd18336 (diff)
a bit of style.
Diffstat (limited to 'usr.bin/pmdb/arch/vax')
-rw-r--r--usr.bin/pmdb/arch/vax/vax.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/pmdb/arch/vax/vax.c b/usr.bin/pmdb/arch/vax/vax.c
index 173f4258a4a..228c58536ad 100644
--- a/usr.bin/pmdb/arch/vax/vax.c
+++ b/usr.bin/pmdb/arch/vax/vax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vax.c,v 1.1 2002/03/19 21:01:49 fgsch Exp $ */
+/* $OpenBSD: vax.c,v 1.2 2002/03/19 21:32:10 fgsch Exp $ */
/*
* Copyright (c) 2002 Federico Schwindt <fgsch@openbsd.org>
* All rights reserved.
@@ -63,7 +63,7 @@ md_getframe(struct pstate *ps, int frame, struct md_frame *fram)
fram->pc = fr.ca_pc;
fram->fp = fr.ca_fp;
- return 0;
+ return (0);
}
int
@@ -72,9 +72,9 @@ md_getregs(struct pstate *ps, reg *regs)
struct reg r;
if (ptrace(PT_GETREGS, ps->ps_pid, (caddr_t)&r, 0) != 0)
- return -1;
+ return (-1);
memcpy(regs, &r, sizeof(r));
- return 0;
+ return (0);
}