From 9d4b2e2a62e280f429c7a86d06a8cafc5f25bf70 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 22 Apr 2005 17:54:56 +0000 Subject: [PATCH] Branch: b1_4 Print file/directory for failed ioctl. --- lustre/utils/liblustreapi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/utils/liblustreapi.c b/lustre/utils/liblustreapi.c index f84d9fb..6e10b56 100644 --- a/lustre/utils/liblustreapi.c +++ b/lustre/utils/liblustreapi.c @@ -436,7 +436,8 @@ static int find_process_file(DIR *dir, char *dname, char *fname, /* add fname to directory list; */ rc = errno; } else { - err_msg("IOC_MDC_GETSTRIPE ioctl failed"); + err_msg("IOC_MDC_GETSTRIPE ioctl failed for '%s/%s'", + dname, fname); rc = errno; } return rc; -- 1.8.3.1