summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/doscmd.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-13 21:56:39 +0000
committerpeter <peter@FreeBSD.org>2001-08-13 21:56:39 +0000
commit373ef9952e0a3257762282ff84c6c19e8c04b444 (patch)
tree9aa3d668719071d3672173d223d02a9486a6af13 /usr.bin/doscmd/doscmd.c
parent61bf775b8ab6683023c691250b2fc8f067bec7d0 (diff)
downloadFreeBSD-src-373ef9952e0a3257762282ff84c6c19e8c04b444.zip
FreeBSD-src-373ef9952e0a3257762282ff84c6c19e8c04b444.tar.gz
Initialize debugf in main()
Diffstat (limited to 'usr.bin/doscmd/doscmd.c')
-rw-r--r--usr.bin/doscmd/doscmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/doscmd/doscmd.c b/usr.bin/doscmd/doscmd.c
index 3bc58f6..5b189e2 100644
--- a/usr.bin/doscmd/doscmd.c
+++ b/usr.bin/doscmd/doscmd.c
@@ -119,6 +119,7 @@ main(int argc, char **argv)
int fd;
int i;
+ debugf = stderr;
/* XXX should only be for tty mode */
fd = open (_PATH_DEVNULL, O_RDWR);
if (fd != 3)
OpenPOWER on IntegriCloud