diff options
author | Dan McDonald <danmcd@joyent.com> | 2020-09-22 10:39:49 -0400 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2020-09-22 10:39:49 -0400 |
commit | 267e12a7d9bf6e5fcefb9cc00f46bfff0dc5226e (patch) | |
tree | 19a3941920d0039c35d53a5cbee189b5ca51995a /usr/src/lib/efcode/fcdriver/ioctl.c | |
parent | 517abc5c668925e6092495bf332233c3599980d2 (diff) | |
parent | e9faba760cdf80d7dfa110fe0830917ab94668c2 (diff) | |
download | illumos-joyent-vpc.tar.gz |
Merge branch 'master' into vpcvpc
Diffstat (limited to 'usr/src/lib/efcode/fcdriver/ioctl.c')
-rw-r--r-- | usr/src/lib/efcode/fcdriver/ioctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/lib/efcode/fcdriver/ioctl.c b/usr/src/lib/efcode/fcdriver/ioctl.c index 218ceb88db..7a40d98979 100644 --- a/usr/src/lib/efcode/fcdriver/ioctl.c +++ b/usr/src/lib/efcode/fcdriver/ioctl.c @@ -24,8 +24,6 @@ * All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> @@ -85,7 +83,7 @@ fc_run_priv(common_data_t *cdp, char *service, int nin, int nout, ...) error_msg = "Error"; error = 1; } - if ((error & !no_err) || + if ((error && !no_err) || (get_interpreter_debug_level() & DEBUG_REG_ACCESS)) { if (error) log_message(MSG_ERROR, "%s: FC_RUN_PRIV: %s: ", |