From b17b551067350da632545340a51d6cb077b80c7e Mon Sep 17 00:00:00 2001 From: bobijam Date: Tue, 16 Jun 2009 05:10:48 +0000 Subject: [PATCH] Branch b1_8 b=17213 Minor change. --- lustre/llite/llite_lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index f12d150..d05328e 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -2434,7 +2434,8 @@ out_uuid: data->ioc_plen2)) rc = -EFAULT; } else { - if (copy_to_user(data->ioc_pbuf2, "Unknown UUID", 13)) + if (copy_to_user(data->ioc_pbuf2, "Unknown UUID", + sizeof("Unknown UUID") + 1)) rc = -EFAULT; } -- 1.8.3.1