File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -484,11 +484,13 @@ s_no_extra_traits! {
484
484
d_resv: [ :: c_int; 5 ] , /* Check out /usr/include/sys/door.h */
485
485
}
486
486
487
+ #[ derive( Debug ) ]
487
488
pub struct door_desc_t {
488
489
pub d_attributes: door_attr_t,
489
490
pub d_data: door_desc_t__d_data,
490
491
}
491
492
493
+ #[ derive( Debug ) ]
492
494
pub struct door_arg_t {
493
495
pub data_ptr: * const :: c_char,
494
496
pub data_size: :: size_t,
@@ -561,8 +563,12 @@ cfg_if! {
561
563
fn fmt( & self , f: & mut :: fmt:: Formatter ) -> :: fmt:: Result {
562
564
unsafe {
563
565
match self {
564
- Self { d_desc } => f. debug_struct( "door_desc_t__d_data" ) . field( "d_desc" , & self . d_desc) . finish( ) ,
565
- Self { d_resv } => f. debug_struct( "door_desc_t__d_data" ) . field( "d_resv" , & self . d_resv) . finish( ) ,
566
+ Self { d_desc } => f. debug_struct( "door_desc_t__d_data" )
567
+ . field( "d_desc" , & self . d_desc)
568
+ . finish( ) ,
569
+ Self { d_resv } => f. debug_struct( "door_desc_t__d_data" )
570
+ . field( "d_resv" , & self . d_resv)
571
+ . finish( ) ,
566
572
}
567
573
}
568
574
}
You can’t perform that action at this time.
0 commit comments