diff options
Diffstat (limited to 'usr/src/uts/common/exec/shbin/shbin.c')
| -rw-r--r-- | usr/src/uts/common/exec/shbin/shbin.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/uts/common/exec/shbin/shbin.c b/usr/src/uts/common/exec/shbin/shbin.c index a1313381f6..c1f69ed4b1 100644 --- a/usr/src/uts/common/exec/shbin/shbin.c +++ b/usr/src/uts/common/exec/shbin/shbin.c @@ -214,11 +214,12 @@ shbinexec( } /* - * Setup interpreter data + * Set up interpreter data * "--" is passed to mark the end-of-arguments before adding - * the scripts file name, preventing problems when a - * a script's name starts with a '-' character. + * the script's file name, preventing problems when a + * script's name starts with a '-' character. */ + bzero(&idata, sizeof (intpdata_t)); idata.intp = NULL; idata.intp_name[0] = shell_list[i]; idata.intp_arg[0] = "--"; |
