FreeBSD Bugzilla – Attachment 11382 Details for
Bug 22435
linprocfs causes system down and reboot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 439 bytes, created by
iwaki
on 2000-10-31 06:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
iwaki
Created:
2000-10-31 06:20:01 UTC
Size:
439 bytes
patch
obsolete
>--- linprocfs_misc.c.org Fri Sep 22 17:01:45 2000 >+++ linprocfs_misc.c Tue Oct 31 10:10:18 2000 >@@ -65,8 +65,8 @@ > > #include <i386/linux/linprocfs/linprocfs.h> > >-#define T2J(x) (((x) * 100) / stathz) >-#define T2S(x) ((x) / stathz) >+#define T2J(x) (((x) * 100) / (stathz ? stathz : hz)) /* ticks to jiffies */ >+#define T2S(x) ((x) / (stathz ? stathz : hz)) /* ticks to seconds */ > > int > linprocfs_domeminfo(curp, p, pfs, uio)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22435
: 11382