Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178126006
D42561.1796049282.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
801 B
Referenced Files
None
Subscribers
None
D42561.1796049282.diff
View Options
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c
--- a/sbin/reboot/reboot.c
+++ b/sbin/reboot/reboot.c
@@ -60,7 +60,7 @@
#include <utmpx.h>
static void usage(void) __dead2;
-static u_int get_pageins(void);
+static uint64_t get_pageins(void);
static int dohalt;
@@ -70,7 +70,7 @@
struct utmpx utx;
const struct passwd *pw;
int ch, howto, i, fd, lflag, nflag, qflag, sverrno, Nflag;
- u_int pageins;
+ uint64_t pageins;
const char *user, *kernel = NULL;
if (strstr(getprogname(), "halt") != NULL) {
@@ -272,10 +272,10 @@
exit(1);
}
-static u_int
+static uint64_t
get_pageins(void)
{
- u_int pageins;
+ uint64_t pageins;
size_t len;
len = sizeof(pageins);
@@ -284,5 +284,5 @@
warnx("v_swappgsin");
return (0);
}
- return pageins;
+ return (pageins);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 30, 2:34 PM (21 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42107220
Default Alt Text
D42561.1796049282.diff (801 B)
Attached To
Mode
D42561: reboot(8): adapt for vmmeter v_swappgsin expansion to 64bit
Attached
Detach File
Event Timeline