summaryrefslogtreecommitdiffstats
path: root/dtrace.in
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2009-08-23 21:51:28 -0400
committerStan Cox <scox@redhat.com>2009-08-23 21:51:28 -0400
commit48930434fcf89cfd57ae6f57b21b3b077a941be3 (patch)
tree20b5a371f296161f8ba8227565a622bdfedb923e /dtrace.in
parent63b464c8f7d89331e6feb3903cf8ec186d8cec34 (diff)
downloadsystemtap-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-xdtrace.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrace.in b/dtrace.in
index aea1ef74..008e1da1 100755
--- a/dtrace.in
+++ b/dtrace.in
@@ -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()