diff options
author | jilles <jilles@FreeBSD.org> | 2010-08-13 13:36:18 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-08-13 13:36:18 +0000 |
commit | 392fc0c63d4e1a190c8fa3e7d5e1ca1c5058cf03 (patch) | |
tree | f0178e28f20362812b17dd3a9fd835c7e0663cef | |
parent | 8e011caccbf8429fb16a5b4601c6576da7748446 (diff) | |
download | FreeBSD-src-392fc0c63d4e1a190c8fa3e7d5e1ca1c5058cf03.zip FreeBSD-src-392fc0c63d4e1a190c8fa3e7d5e1ca1c5058cf03.tar.gz |
sh: Fix shadowing of sigset.
-rw-r--r-- | bin/sh/error.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/error.c b/bin/sh/error.c index 1f981f0..beb75fa 100644 --- a/bin/sh/error.c +++ b/bin/sh/error.c @@ -102,7 +102,7 @@ exraise(int e) void onint(void) { - sigset_t sigset; + sigset_t sigs; /* * The !in_dotrap here is safe. The only way we can arrive here @@ -115,8 +115,8 @@ onint(void) return; } intpending = 0; - sigemptyset(&sigset); - sigprocmask(SIG_SETMASK, &sigset, NULL); + sigemptyset(&sigs); + sigprocmask(SIG_SETMASK, &sigs, NULL); /* * This doesn't seem to be needed, since main() emits a newline. |