Whamcloud - gitweb
LU-6158 mdt: always shrink_capsule in getxattr_all
[fs/lustre-release.git] / lustre / tests / flock.c
index 65c40e4..22e5dc5 100644 (file)
@@ -175,7 +175,7 @@ void t21()
 
         fd = open(file, O_RDWR|O_CREAT, (mode_t)0666);
         if (fd < 0) {
-                printf("error open file: %m\n", file);
+               printf("open(%s) error: %s\n", file, strerror(errno));
                 exit(-1);
         }