From ad7ae54577e553e698f0053e546cebe560a16de1 Mon Sep 17 00:00:00 2001 From: kib Date: Wed, 6 May 2015 09:38:44 +0000 Subject: [PATCH] MFC r282245: Remove the #ifdef DEBUG code, which is not compilable on 64bit architectures. PR: 199767 git-svn-id: svn://svn.freebsd.org/base/stable/10@282523 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- libexec/getty/subr.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c index 26d2173aa..992280a5e 100644 --- a/libexec/getty/subr.c +++ b/libexec/getty/subr.c @@ -38,9 +38,6 @@ static const char rcsid[] = /* * Melbourne getty. */ -#ifdef DEBUG -#include -#endif #include #include #include @@ -160,17 +157,6 @@ gettable(const char *name, char *buf) fp->value = 1 ^ fp->invrt; } } - -#ifdef DEBUG - printf("name=\"%s\", buf=\"%s\"\r\n", name, buf); - for (sp = gettystrs; sp->field; sp++) - printf("cgetstr: %s=%s\r\n", sp->field, sp->value); - for (np = gettynums; np->field; np++) - printf("cgetnum: %s=%d\r\n", np->field, np->value); - for (fp = gettyflags; fp->field; fp++) - printf("cgetflags: %s='%c' set='%c'\r\n", fp->field, - fp->value + '0', fp->set + '0'); -#endif /* DEBUG */ } void -- 2.42.0