Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/uu/who/src/platform/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

// spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr runlvline pidstr exitstr hoststr
// spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr pidstr exitstr hoststr

use crate::options;
use crate::uu_app;
Expand Down Expand Up @@ -250,14 +250,14 @@ impl Who {
fn print_runlevel(&self, ut: &Utmpx) {
let last = (ut.pid() / 256) as u8 as char;
let curr = (ut.pid() % 256) as u8 as char;
let runlvline = translate!("who-runlevel", "level" => curr);
let runlevel_line = translate!("who-runlevel", "level" => curr);
let comment =
translate!("who-runlevel-last", "last" => (if last == 'N' { 'S' } else { 'N' }));

self.print_line(
"",
' ',
&runlvline,
&runlevel_line,
&time_string(ut),
"",
"",
Expand Down
2 changes: 1 addition & 1 deletion src/uu/who/src/who.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.

// spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr runlvline pidstr exitstr hoststr
// spell-checker:ignore (ToDO) runlevel mesg

use clap::{Arg, ArgAction, Command};
use uucore::format_usage;
Expand Down
Loading