From 6d83ae7de604db25612d5d8414b56b47b212cf0d Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Wed, 7 Jun 2017 11:21:57 +0200 Subject: [PATCH] common/blkdev.cc: propagate get_device_by_fd to different OSes Signed-off-by: Willem Jan Withagen --- src/common/blkdev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/blkdev.cc b/src/common/blkdev.cc index ae98df96d16..d95a397a844 100644 --- a/src/common/blkdev.cc +++ b/src/common/blkdev.cc @@ -332,7 +332,7 @@ int get_device_by_uuid(uuid_d dev_uuid, const char* label, char* partition, { return -EOPNOTSUPP; } -int get_device_by_fd(int fd, char* partition, char* device) +int get_device_by_fd(int fd, char *partition, char *device, size_t max) { return -EOPNOTSUPP; } @@ -363,7 +363,7 @@ int get_device_by_uuid(uuid_d dev_uuid, const char* label, char* partition, return -EOPNOTSUPP; } -int get_device_by_fd(int fd, char* partition, char* device) +int get_device_by_fd(int fd, char *partition, char *device, size_t max) { return -EOPNOTSUPP; } -- 2.47.3