From 7876e3f35ce55878fbeb2bd3a533bcaeeb1a9aed Mon Sep 17 00:00:00 2001 From: srittau Date: Fri, 6 Jun 2003 19:41:48 +0000 Subject: [PATCH] Fix for afpd debugging by Stefan Muenkner. --- etc/afpd/afp_dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/afpd/afp_dsi.c b/etc/afpd/afp_dsi.c index 23053164..8d09e190 100644 --- a/etc/afpd/afp_dsi.c +++ b/etc/afpd/afp_dsi.c @@ -1,5 +1,5 @@ /* - * $Id: afp_dsi.c,v 1.28 2003-05-16 15:29:26 didg Exp $ + * $Id: afp_dsi.c,v 1.29 2003-06-06 19:41:48 srittau Exp $ * * Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu) * Copyright (c) 1990,1993 Regents of The University of Michigan. @@ -174,7 +174,7 @@ void afp_set_debug (int sig) { char fname[MAXPATHLEN]; - snprintf(fname, MAXPATHLEN-1, "%safpd-debug-%d", P_tmpdir, getpid()); + snprintf(fname, MAXPATHLEN-1, "%s/afpd-debug-%d", P_tmpdir, getpid()); freopen(fname, "w", stdout); child.obj->options.flags |= OPTION_DEBUG; -- 2.39.2