FreeBSD Bugzilla – Attachment #232244: patch to make top(1) clear battery % field when going from 100 to 99 % for
bug #262335
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
View
|
Details
|
Raw Unified
| Return to
bug 262335
Collapse All
|
Expand All
(-)
usr.bin/top/display.c (-1 / +1 lines)
Lines 1327-1333
Link Here
1327
{
1327
{
1328
1328
1329
if (nbat > 0) {
1329
if (nbat > 0) {
1330
printf("; battery: %d%%", batt);
1330
printf("; battery: %3d%%", batt);
1331
}
1331
}
1332
}
1332
}
1333
1333
Return to
bug 262335