Whamcloud - gitweb
LU-2696 utils: fix error message in rmtacl_notify()
[fs/lustre-release.git] / lustre / utils / liblustreapi.c
index 9355b10..4a94d1b 100644 (file)
@@ -3464,7 +3464,9 @@ static int rmtacl_notify(int ops)
                close(fd);
                 if (rc < 0) {
                         rc = -errno;
-                        llapi_error(LLAPI_MSG_ERROR, rc, "ioctl %d\n", fd);
+                       llapi_error(LLAPI_MSG_ERROR, rc,
+                                   "ioctl RMTACL on '%s' err %d\n",
+                                   mnt->mnt_dir, rc);
                        goto out;
                 }