File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
// For the full copyright and license information, please view the LICENSE
4
4
// file that was distributed with this source code.
5
5
6
- // spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr runlvline pidstr exitstr hoststr
6
+ // spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr pidstr exitstr hoststr
7
7
8
8
use crate :: options;
9
9
use crate :: uu_app;
@@ -250,14 +250,14 @@ impl Who {
250
250
fn print_runlevel ( & self , ut : & Utmpx ) {
251
251
let last = ( ut. pid ( ) / 256 ) as u8 as char ;
252
252
let curr = ( ut. pid ( ) % 256 ) as u8 as char ;
253
- let runlvline = translate ! ( "who-runlevel" , "level" => curr) ;
253
+ let runlevel_line = translate ! ( "who-runlevel" , "level" => curr) ;
254
254
let comment =
255
255
translate ! ( "who-runlevel-last" , "last" => ( if last == 'N' { 'S' } else { 'N' } ) ) ;
256
256
257
257
self . print_line (
258
258
"" ,
259
259
' ' ,
260
- & runlvline ,
260
+ & runlevel_line ,
261
261
& time_string ( ut) ,
262
262
"" ,
263
263
"" ,
Original file line number Diff line number Diff line change 3
3
// For the full copyright and license information, please view the LICENSE
4
4
// file that was distributed with this source code.
5
5
6
- // spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr runlvline pidstr exitstr hoststr
6
+ // spell-checker:ignore (ToDO) runlevel mesg
7
7
8
8
use clap:: { Arg , ArgAction , Command } ;
9
9
use uucore:: format_usage;
You can’t perform that action at this time.
0 commit comments