diff options
author | Stan Cox <scox@redhat.com> | 2009-08-23 21:51:28 -0400 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2009-08-23 21:51:28 -0400 |
commit | 48930434fcf89cfd57ae6f57b21b3b077a941be3 (patch) | |
tree | 20b5a371f296161f8ba8227565a622bdfedb923e /dtrace.in | |
parent | 63b464c8f7d89331e6feb3903cf8ec186d8cec34 (diff) | |
download | systemtap-steved-48930434fcf89cfd57ae6f57b21b3b077a941be3.tar.gz systemtap-steved-48930434fcf89cfd57ae6f57b21b3b077a941be3.tar.xz systemtap-steved-48930434fcf89cfd57ae6f57b21b3b077a941be3.zip |
Simplify mkstemp invocation.
*dtrace: Don't bother with prefix when invoking mkstemp.
Diffstat (limited to 'dtrace.in')
-rwxr-xr-x | dtrace.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ if (build_header): providers.generate(s_filename, filename + h_ext, add_typedefs) elif (build_source): (basename,ext) = os.path.splitext(s_filename) - (d,fn) = mkstemp(suffix=".c",prefix=basename) + (d,fn) = mkstemp(suffix=".c") f = open(fn,mode='w') f.write("static __dtrace () {}\n") f.close() |