Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175937808
D30235.id89088.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
993 B
Referenced Files
None
Subscribers
None
D30235.id89088.diff
View Options
Index: sys/tools/makesyscalls.lua
===================================================================
--- sys/tools/makesyscalls.lua
+++ sys/tools/makesyscalls.lua
@@ -648,7 +648,7 @@
]], funcname, sysnum))
if #funcargs > 0 then
- write_line("systracetmp", "\t\tswitch(ndx) {\n")
+ write_line("systracetmp", "\t\tswitch (ndx) {\n")
write_line("systrace", string.format(
"\t\tstruct %s *p = params;\n", argalias))
@@ -671,7 +671,7 @@
if isptrtype(argtype) then
write_line("systrace", string.format(
- "\t\tuarg[%d] = (%s) p->%s; /* %s */\n",
+ "\t\tuarg[%d] = (%s)p->%s; /* %s */\n",
idx - 1, config["ptr_intptr_t_cast"],
argname, argtype))
elseif argtype == "union l_semun" then
@@ -1285,7 +1285,7 @@
static void
systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
{
- int64_t *iarg = (int64_t *) uarg;
+ int64_t *iarg = (int64_t *)uarg;
switch (sysnum) {
]], generated_tag, config['os_id_keyword']))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 15, 3:46 PM (4 h, 39 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40806835
Default Alt Text
D30235.id89088.diff (993 B)
Attached To
Mode
D30235: makesyscalls.lua: improve generated file style(9) compliance
Attached
Detach File
Event Timeline
Log In to Comment