Print this page
12046 Provide /proc/<PID>/fdinfo/

@@ -566,26 +566,26 @@
 }
 
 static void
 gen_prfdinfo(void)
 {
-        START(prfdinfo, prfdinfo_t);
+        START(prfdinfo, prfdinfov1_t);
 
-        SCALAR_FIELD(prfdinfo_t,        pr_fd,          0);
-        SCALAR_FIELD(prfdinfo_t,        pr_mode,        0);
-        SCALAR_FIELD(prfdinfo_t,        pr_uid,         0);
-        SCALAR_FIELD(prfdinfo_t,        pr_gid,         0);
-        SCALAR_FIELD(prfdinfo_t,        pr_major,       0);
-        SCALAR_FIELD(prfdinfo_t,        pr_minor,       0);
-        SCALAR_FIELD(prfdinfo_t,        pr_rmajor,      0);
-        SCALAR_FIELD(prfdinfo_t,        pr_rminor,      0);
-        SCALAR_FIELD(prfdinfo_t,        pr_ino,         0);
-        SCALAR_FIELD(prfdinfo_t,        pr_offset,      0);
-        SCALAR_FIELD(prfdinfo_t,        pr_size,        0);
-        SCALAR_FIELD(prfdinfo_t,        pr_fileflags,   0);
-        SCALAR_FIELD(prfdinfo_t,        pr_fdflags,     0);
-        ARRAY_FIELD(prfdinfo_t,         pr_path,        0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_fd,          0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_mode,        0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_uid,         0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_gid,         0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_major,       0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_minor,       0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_rmajor,      0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_rminor,      0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_ino,         0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_offset,      0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_size,        0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_fileflags,   0);
+        SCALAR_FIELD(prfdinfov1_t,      pr_fdflags,     0);
+        ARRAY_FIELD(prfdinfov1_t,       pr_path,        0);
 
         END;
 }
 
 static void