summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/exec/shbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/exec/shbin')
-rw-r--r--usr/src/uts/common/exec/shbin/shbin.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/uts/common/exec/shbin/shbin.c b/usr/src/uts/common/exec/shbin/shbin.c
index 25a88b05c1..c1f69ed4b1 100644
--- a/usr/src/uts/common/exec/shbin/shbin.c
+++ b/usr/src/uts/common/exec/shbin/shbin.c
@@ -59,7 +59,7 @@ shbinexec(
int setid,
caddr_t exec_file,
struct cred *cred,
- int brand_action);
+ int *brand_action);
#define SHBIN_CNTL(x) ((x)&037)
#define SHBINMAGIC_LEN 4
@@ -161,11 +161,11 @@ shbinexec(
int setid,
caddr_t exec_file,
struct cred *cred,
- int brand_action)
+ int *brand_action)
{
_NOTE(ARGUNUSED(brand_action))
vnode_t *nvp;
- int error = 0;
+ int error = 0, eba;
struct intpdata idata;
struct pathname intppn;
struct pathname resolvepn;
@@ -245,8 +245,9 @@ shbinexec(
args->fname = devfd;
}
+ eba = EBA_NONE;
error = gexec(&nvp, uap, args, &idata, ++level, execsz, exec_file, cred,
- EBA_NONE);
+ &eba);
if (!error) {
/*