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/get_req.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/get_req.c')
-rw-r--r-- | usr/src/lib/efcode/fcdriver/get_req.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/lib/efcode/fcdriver/get_req.c b/usr/src/lib/efcode/fcdriver/get_req.c index 2fd07e4fec..dbe3dabb82 100644 --- a/usr/src/lib/efcode/fcdriver/get_req.c +++ b/usr/src/lib/efcode/fcdriver/get_req.c @@ -178,8 +178,8 @@ save_fcode_to_file(fcode_env_t *env) return; } log_message(MSG_INFO, "Fcode %p,%x to file '%s'\n", buf, len, fname); - fwrite(buf, len, sizeof (char), fd); - fclose(fd); + (void) fwrite(buf, len, sizeof (char), fd); + (void) fclose(fd); } void @@ -325,7 +325,7 @@ get_request(fcode_env_t *env) common_data_t *cdp = env->private; if (cdp->fcode_fd >= 0) - close(cdp->fcode_fd); + (void) close(cdp->fcode_fd); if (!open_fcode_dev(env)) exit(1); if (!fc_get_request(cdp)) { @@ -405,7 +405,7 @@ finish_request(fcode_env_t *env) { common_data_t *cdp = env->private; - close(cdp->fcode_fd); + (void) close(cdp->fcode_fd); } /* |