summaryrefslogtreecommitdiffstats
path: root/contrib/openpam
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-10-23 08:21:00 +0000
committerdes <des@FreeBSD.org>2002-10-23 08:21:00 +0000
commit9bd2a545b1ca3a45f5e0b212ba0636c6ba6b5665 (patch)
tree5fdd958c505de72ca0ddfb3cef12d626549eb423 /contrib/openpam
parent63abd18044d3c7515d1f7a0c70193eb0ad922fd2 (diff)
downloadFreeBSD-src-9bd2a545b1ca3a45f5e0b212ba0636c6ba6b5665.zip
FreeBSD-src-9bd2a545b1ca3a45f5e0b212ba0636c6ba6b5665.tar.gz
(MFP4#19900) Write message to stdout, not stderr.
Submitted by: jmallet Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
Diffstat (limited to 'contrib/openpam')
-rw-r--r--contrib/openpam/lib/openpam_ttyconv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/openpam/lib/openpam_ttyconv.c b/contrib/openpam/lib/openpam_ttyconv.c
index 241420f..fc40618 100644
--- a/contrib/openpam/lib/openpam_ttyconv.c
+++ b/contrib/openpam/lib/openpam_ttyconv.c
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/openpam/lib/openpam_ttyconv.c#12 $
+ * $P4: //depot/projects/openpam/lib/openpam_ttyconv.c#13 $
*/
#include <sys/types.h>
@@ -76,7 +76,7 @@ prompt(const char *msg)
action.sa_flags = 0;
sigemptyset(&action.sa_mask);
sigaction(SIGALRM, &action, &saved_action);
- fputs(msg, stderr);
+ fputs(msg, stdout);
buf[0] = '\0';
timed_out = 0;
saved_alarm = alarm(openpam_ttyconv_timeout);
OpenPOWER on IntegriCloud