summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/w.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/w.cpp b/Userland/w.cpp
index d4059f7326..96470ff59b 100644
--- a/Userland/w.cpp
+++ b/Userland/w.cpp
@@ -77,7 +77,7 @@ int main()
if (stat(tty.characters(), &st) == 0) {
auto idle_time = now - st.st_mtime;
if (idle_time >= 0) {
- builder.appendf("%d sec", idle_time);
+ builder.appendf("%ds", idle_time);
idle_string = builder.to_string();
}
}