Whamcloud - gitweb
Branch: b1_4
authoradilger <adilger>
Fri, 22 Apr 2005 17:54:56 +0000 (17:54 +0000)
committeradilger <adilger>
Fri, 22 Apr 2005 17:54:56 +0000 (17:54 +0000)
Print file/directory for failed ioctl.

lustre/utils/liblustreapi.c

index f84d9fb..6e10b56 100644 (file)
@@ -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;