diff options
author | Dan McDonald <danmcd@joyent.com> | 2022-01-04 16:08:33 -0500 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2022-01-04 16:08:33 -0500 |
commit | c6a2d21cf572e946031f6494c953d9981bbbdcbb (patch) | |
tree | 0e775d24a9df3ea657792e63194757c166314902 /usr/src/lib | |
parent | 574b99853ca610f3b9687c22baf6e3e523019159 (diff) | |
parent | 430062b0bc38ddbe5eda3921705af71cd2c44260 (diff) | |
download | illumos-joyent-c6a2d21cf572e946031f6494c953d9981bbbdcbb.tar.gz |
[illumos-gate merge]
commit 430062b0bc38ddbe5eda3921705af71cd2c44260
14333 libsmedia: this 'if' clause does not guard...
commit 9ccfd38e64be4d6a2c01daa15fe7f5627122bdc2
14338 units: this 'if' clause does not guard...
commit a73f84128431389b9c4004ced8cbbe6945a2bd45
14339 bhyve: build errors with gcc 11
commit d9339210baa8b029caa3e70d216a09ec1bbc7647
14331 mr_sas: this 'if' clause does not guard...
commit 3d6d4f792e72bec8b227212e65f7555396295d84
14342 svccfg cleanup dumps core in create_instance_list
commit b3619796d92b4472acfed6b7c813f83cef335013
14257 Errors for ct_pr_event_get_senderct in the manual
commit 3a27ad4a9822ecb5402cb375bd3250c9ce715439
14324 December 2021 hwdata update
commit 7957df47ba71407f1d0517aa3f34f1bdde135b84
14357 Update prototypes to 2022
commit a7aaa5137d50ab434a012fa67192f75b383f3d48
14313 smbios(1) does not check for success on libsmbios calls
commit 058c1d469107d655c5b92e9ffb2f0d30314f9e78
14312 bhyve smbios type 3 structure is incorrect
Diffstat (limited to 'usr/src/lib')
-rw-r--r-- | usr/src/lib/libsmedia/plugins/blkdev/common/b_generic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/lib/libsmedia/plugins/blkdev/common/b_generic.c b/usr/src/lib/libsmedia/plugins/blkdev/common/b_generic.c index 5bd8467603..281b7a6d45 100644 --- a/usr/src/lib/libsmedia/plugins/blkdev/common/b_generic.c +++ b/usr/src/lib/libsmedia/plugins/blkdev/common/b_generic.c @@ -25,7 +25,7 @@ /* * b_generic.c : * This file contains the functions for generic block devices - * for libsmedia. + * for libsmedia. */ #include <stdio.h> @@ -150,8 +150,8 @@ _m_get_device_info(rmedia_handle_t *handle, void *ip) } vendor_name = (char *)malloc(1); if (vendor_name == NULL) { - if (!errno) - errno = ENOMEM; + if (!errno) + errno = ENOMEM; return (-1); } product_name = (char *)malloc(1); |