Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105737862
D1070.id2949.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1070.id2949.diff
View Options
Index: sys/compat/linux/linux_misc.c
===================================================================
--- sys/compat/linux/linux_misc.c
+++ sys/compat/linux/linux_misc.c
@@ -915,7 +915,8 @@
#ifdef DEBUG
if (ldebug(mknod))
- printf(ARGS(mknod, "%s, %d, %zd"), path, args->mode, args->dev);
+ printf(ARGS(mknod, "%s, %d, %ju"), path, args->mode,
+ (uintmax_t)args->dev);
#endif
switch (args->mode & S_IFMT) {
@@ -1766,8 +1767,9 @@
#ifdef DEBUG
if (ldebug(prctl))
- printf(ARGS(prctl, "%d, %zd, %zd, %zd, %zd"), args->option,
- args->arg2, args->arg3, args->arg4, args->arg5);
+ printf(ARGS(prctl, "%d, %ju, %ju, %ju, %ju"), args->option,
+ (uintmax_t)args->arg2, (uintmax_t)args->arg3,
+ (uintmax_t)args->arg4, (uintmax_t)args->arg5);
#endif
switch (args->option) {
Index: sys/compat/linux/linux_signal.c
===================================================================
--- sys/compat/linux/linux_signal.c
+++ sys/compat/linux/linux_signal.c
@@ -466,8 +466,8 @@
#ifdef DEBUG
if (ldebug(rt_sigtimedwait))
printf(LMSG("linux_rt_sigtimedwait: "
- "incoming timeout (%zd/%zd)\n"),
- ltv.tv_sec, ltv.tv_usec);
+ "incoming timeout (%jd/%jd)\n"),
+ (intmax_t)ltv.tv_sec, (intmax_t)ltv.tv_usec);
#endif
tv.tv_sec = (long)ltv.tv_sec;
tv.tv_usec = (suseconds_t)ltv.tv_usec;
Index: sys/compat/linux/linux_stats.c
===================================================================
--- sys/compat/linux/linux_stats.c
+++ sys/compat/linux/linux_stats.c
@@ -496,7 +496,7 @@
{
#ifdef DEBUG
if (ldebug(ustat))
- printf(ARGS(ustat, "%zd, *"), args->dev);
+ printf(ARGS(ustat, "%ju, *"), (uintmax_t)args->dev);
#endif
return (EOPNOTSUPP);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 10:44 PM (18 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15536171
Default Alt Text
D1070.id2949.diff (1 KB)
Attached To
Mode
D1070: Fix compilation with -DDEBUG option.
Attached
Detach File
Event Timeline
Log In to Comment