diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-07-30 06:07:07 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-07-30 06:07:07 +0000 |
commit | 653f8f659f3f1a4e8f144159c85d8965a0a8f1fa (patch) | |
tree | 5e8c3b5d79c8e704ff3d8ca69ed49ba86feeb2e1 /bin/systrace/register.c | |
parent | 410d0fd62d65e08af3bdbaf9fb528a3ecbff4eef (diff) |
avoid using same variable name for global and auto variable.
Diffstat (limited to 'bin/systrace/register.c')
-rw-r--r-- | bin/systrace/register.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/systrace/register.c b/bin/systrace/register.c index 3c9cd4d114e..e570e0e1d94 100644 --- a/bin/systrace/register.c +++ b/bin/systrace/register.c @@ -1,4 +1,4 @@ -/* $OpenBSD: register.c,v 1.7 2002/07/19 14:38:58 itojun Exp $ */ +/* $OpenBSD: register.c,v 1.8 2002/07/30 06:07:06 itojun Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -69,7 +69,7 @@ systrace_initcb(void) &ic_translate_connect); X(intercept_register_sccb("native", "execve", trans_cb, NULL)); intercept_register_transfn("native", "execve", 0); - intercept_register_translation("native", "execve", 1, &argv); + intercept_register_translation("native", "execve", 1, &trargv); X(intercept_register_sccb("native", "stat", trans_cb, NULL)); tl = intercept_register_transfn("native", "stat", 0); alias = systrace_new_alias("native", "stat", "native", "fsread"); |