diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-01 17:00:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-01 17:00:41 +0000 |
commit | 173d01b7c1e9a5d7ba5a6c696a8019061dc41bda (patch) | |
tree | 8c8b7bb08108dca24afcee3bbe301e8ba6f76e81 /sys/lib/libsa/exec.c | |
parent | 3e42965de9054a39afc4957c4f099218e709ae51 (diff) |
strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind
Diffstat (limited to 'sys/lib/libsa/exec.c')
-rw-r--r-- | sys/lib/libsa/exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libsa/exec.c b/sys/lib/libsa/exec.c index 498d6fdcc1b..236247058a0 100644 --- a/sys/lib/libsa/exec.c +++ b/sys/lib/libsa/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.22 1998/07/14 14:26:18 mickey Exp $ */ +/* $OpenBSD: exec.c,v 1.23 2003/06/01 17:00:32 deraadt Exp $ */ /* $NetBSD: exec.c,v 1.15 1996/10/13 02:29:01 christos Exp $ */ /*- @@ -138,7 +138,7 @@ exec(path, loadaddr, howto) sz = i - sizeof(int); addr += sizeof(int); if (read(io, addr, sz) != sz) - goto shread; + goto shread; addr += sz; } @@ -166,7 +166,7 @@ exec(path, loadaddr, howto) #ifdef EXEC_DEBUG printf("loadaddr=%p etxt=%p daddr=%p ssym=%p esym=%p\n", - loadaddr, etxt, daddr, ssym, esym); + loadaddr, etxt, daddr, ssym, esym); printf("\n\nReturn to boot...\n"); getchar(); #endif |