summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPrint.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2021-07-06 17:35:56 (GMT)
committerKevin Walzer <kw@codebykevin.com>2021-07-06 17:35:56 (GMT)
commit0c15d1665c5a0a735ff6db449bf786c33e4759a5 (patch)
tree4b837167724765c380b2e32853a83f02914e73a4 /macosx/tkMacOSXPrint.c
parent5d9f5a6aa4a63d1aa557d330084804e6ec112d38 (diff)
downloadtk-0c15d1665c5a0a735ff6db449bf786c33e4759a5.zip
tk-0c15d1665c5a0a735ff6db449bf786c33e4759a5.tar.gz
tk-0c15d1665c5a0a735ff6db449bf786c33e4759a5.tar.bz2
Tweak path
Diffstat (limited to 'macosx/tkMacOSXPrint.c')
-rw-r--r--macosx/tkMacOSXPrint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXPrint.c b/macosx/tkMacOSXPrint.c
index 00f5a7b..ec0b636 100644
--- a/macosx/tkMacOSXPrint.c
+++ b/macosx/tkMacOSXPrint.c
@@ -257,7 +257,7 @@ OSStatus FinishPrint(NSString * file, int buttonValue) {
/* Redirect output to file and silence debugging output.*/
dup2(open(target, O_RDWR | O_CREAT, 0777), 1);
dup2(open("/dev/null", O_WRONLY), 2);
- execl("/usr/sbin/cupsfilter", "cupsfilter", "-m", "application/postscript", source, NULL);
+ execl("/usr/sbin/cupsfilter", "/usr/sbin/cupsfilter", "-m", "application/postscript", source, NULL);
close(1);
close(2);
exit(0);