aboutsummaryrefslogtreecommitdiffstats
path: root/tools/abcprintd.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@trantor.hos.anvin.org>2009-01-04 18:13:31 -0800
committerH. Peter Anvin <hpa@trantor.hos.anvin.org>2009-01-04 18:13:31 -0800
commit88ead2b6e4144749ef0e1f761dfdde3c4b16fa7f (patch)
treecd05cecee3dfeb3df47ffc6dfd1e77b2d632910d /tools/abcprintd.c
parent4dd5eb6a3221c2c94d96b9e22caf0e73b4dc67df (diff)
downloadabc80-88ead2b6e4144749ef0e1f761dfdde3c4b16fa7f.tar.gz
abc80-88ead2b6e4144749ef0e1f761dfdde3c4b16fa7f.tar.xz
abc80-88ead2b6e4144749ef0e1f761dfdde3c4b16fa7f.zip
abcprintd: fix fileop state machine; add debugging printfs
Fix the fileop state machine. Disable daemonizing and add some debugging printfs for the moment.
Diffstat (limited to 'tools/abcprintd.c')
-rw-r--r--tools/abcprintd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/abcprintd.c b/tools/abcprintd.c
index 5925e55..15ff502 100644
--- a/tools/abcprintd.c
+++ b/tools/abcprintd.c
@@ -232,7 +232,9 @@ int main(int argc, char *argv[])
memcpy(lpr_argv, argv+optind+1, sizeof(char *)*(lpr_argc+1));
}
- daemon(0,0);
+ fprintf(stderr, "filedir = %s\n", file_op_dir);
+
+ // daemon(0,0);
print_setup(&tf, &ps);