File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,22 +95,22 @@ impl FromStr for MapsEntry {
95
95
}
96
96
97
97
let ( perms_str, s) = s. trim ( ) . split_once ( ' ' ) . unwrap_or ( ( s, "" ) ) ;
98
- if range_str . is_empty ( ) {
98
+ if perms_str . is_empty ( ) {
99
99
return Err ( "Couldn't find permissions" ) ;
100
100
}
101
101
102
102
let ( offset_str, s) = s. trim ( ) . split_once ( ' ' ) . unwrap_or ( ( s, "" ) ) ;
103
- if range_str . is_empty ( ) {
103
+ if offset_str . is_empty ( ) {
104
104
return Err ( "Couldn't find offset" ) ;
105
105
}
106
106
107
107
let ( dev_str, s) = s. trim ( ) . split_once ( ' ' ) . unwrap_or ( ( s, "" ) ) ;
108
- if range_str . is_empty ( ) {
108
+ if dev_str . is_empty ( ) {
109
109
return Err ( "Couldn't find dev" ) ;
110
110
}
111
111
112
112
let ( inode_str, s) = s. trim ( ) . split_once ( ' ' ) . unwrap_or ( ( s, "" ) ) ;
113
- if range_str . is_empty ( ) {
113
+ if inode_str . is_empty ( ) {
114
114
return Err ( "Couldn't find inode" ) ;
115
115
}
116
116
You can’t perform that action at this time.
0 commit comments