File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,19 +101,19 @@ fn start_backend(config: VuScmiConfig) -> Result<()> {
101
101
backend. clone ( ) ,
102
102
GuestMemoryAtomic :: new ( GuestMemoryMmap :: new ( ) ) ,
103
103
)
104
- . map_err ( |e| format ! ( "{e}" ) ) ?;
104
+ . map_err ( |e| e . to_string ( ) ) ?;
105
105
106
106
// Register devices such as "/dev/iio:deviceX" which can actively notify the frontend to epoll the handler.
107
107
// Then once there is data coming from these devices, an event will be created. (device_event=3)
108
108
let handlers = daemon. get_epoll_handlers ( ) ;
109
109
backend
110
110
. read ( )
111
- . map_err ( |e| format ! ( "{e}" ) ) ?
111
+ . map_err ( |e| e . to_string ( ) ) ?
112
112
. register_device_event_fd ( handlers) ;
113
113
114
114
daemon
115
115
. serve ( & config. socket_path )
116
- . map_err ( |e| format ! ( "{e}" ) ) ?;
116
+ . map_err ( |e| e . to_string ( ) ) ?;
117
117
debug ! ( "Finishing backend" ) ;
118
118
}
119
119
}
You can’t perform that action at this time.
0 commit comments