diff options
Diffstat (limited to 'sys-cluster/ceph/files/ceph-12.2.12-qa-warning.patch')
-rw-r--r-- | sys-cluster/ceph/files/ceph-12.2.12-qa-warning.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys-cluster/ceph/files/ceph-12.2.12-qa-warning.patch b/sys-cluster/ceph/files/ceph-12.2.12-qa-warning.patch deleted file mode 100644 index 1b63d6e21ba5..000000000000 --- a/sys-cluster/ceph/files/ceph-12.2.12-qa-warning.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/common/blkdev.cc b/src/common/blkdev.cc -index d95a397a84..d2cbf4b7b9 100644 ---- a/src/common/blkdev.cc -+++ b/src/common/blkdev.cc -@@ -225,7 +225,7 @@ int get_device_by_uuid(uuid_d dev_uuid, const char* label, char* partition, - rc = get_block_device_base(partition, basename, - sizeof(basename)); - if (rc >= 0) { -- strncpy(device, basename, sizeof(basename)); -+ strncpy(device, basename, sizeof(device)); - rc = 0; - } else { - rc = -ENODEV; |