Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173719497
D1070.id2208.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.id2208.diff
View Options
Index: sys/compat/linux/linux_misc.c
===================================================================
--- sys/compat/linux/linux_misc.c
+++ sys/compat/linux/linux_misc.c
@@ -901,7 +901,7 @@
#ifdef DEBUG
if (ldebug(mknod))
- printf(ARGS(mknod, "%s, %d, %d"), path, args->mode, args->dev);
+ printf(ARGS(mknod, "%s, %d, %zd"), path, args->mode, args->dev);
#endif
switch (args->mode & S_IFMT) {
@@ -1751,7 +1751,7 @@
#ifdef DEBUG
if (ldebug(prctl))
- printf(ARGS(prctl, "%d, %d, %d, %d, %d"), args->option,
+ printf(ARGS(prctl, "%d, %zd, %zd, %zd, %zd"), args->option,
args->arg2, args->arg3, args->arg4, args->arg5);
#endif
Index: sys/compat/linux/linux_signal.c
===================================================================
--- sys/compat/linux/linux_signal.c
+++ sys/compat/linux/linux_signal.c
@@ -466,7 +466,7 @@
#ifdef DEBUG
if (ldebug(rt_sigtimedwait))
printf(LMSG("linux_rt_sigtimedwait: "
- "incoming timeout (%d/%d)\n"),
+ "incoming timeout (%zd/%zd)\n"),
ltv.tv_sec, ltv.tv_usec);
#endif
tv.tv_sec = (long)ltv.tv_sec;
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, "%d, *"), args->dev);
+ printf(ARGS(ustat, "%zd, *"), args->dev);
#endif
return (EOPNOTSUPP);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 28, 10:40 PM (4 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39839342
Default Alt Text
D1070.id2208.diff (1 KB)
Attached To
Mode
D1070: Fix compilation with -DDEBUG option.
Attached
Detach File
Event Timeline
Log In to Comment