summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlteo <>2014-04-22 02:29:52 +0000
committerlteo <>2014-04-22 02:29:52 +0000
commit3fe0b5dddc218692c32d3446a86adb153e7261fe (patch)
tree4e6b744103cdb0c9b1451f6425673dc7291ef3c3
parent635a0a6660b7f3f4f4e52efb777ae60b4701df13 (diff)
downloadopenbsd-3fe0b5dddc218692c32d3446a86adb153e7261fe.tar.gz
openbsd-3fe0b5dddc218692c32d3446a86adb153e7261fe.tar.bz2
openbsd-3fe0b5dddc218692c32d3446a86adb153e7261fe.zip
gets() is gone
-rw-r--r--src/regress/lib/libc/orientation/orientation_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regress/lib/libc/orientation/orientation_test.c b/src/regress/lib/libc/orientation/orientation_test.c
index 2d8fb4fd20..4d713f80bf 100644
--- a/src/regress/lib/libc/orientation/orientation_test.c
+++ b/src/regress/lib/libc/orientation/orientation_test.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: orientation_test.c,v 1.4 2013/04/03 03:11:53 guenther Exp $ */ 1/* $OpenBSD: orientation_test.c,v 1.5 2014/04/22 02:29:52 lteo Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2009 Philip Guenther 4 * Copyright (c) 2009 Philip Guenther
@@ -192,7 +192,6 @@ main(int argc, char *argv[])
192 /* input from stdin */ 192 /* input from stdin */
193 TEST_NARROW_STD(stdin, getchar()); 193 TEST_NARROW_STD(stdin, getchar());
194 TEST_NARROW_STD(stdin, getchar_unlocked()); 194 TEST_NARROW_STD(stdin, getchar_unlocked());
195 TEST_NARROW_STD(stdin, gets(buffer));
196 TEST_NARROW_STD(stdin, scanf("%s\n", buffer)); 195 TEST_NARROW_STD(stdin, scanf("%s\n", buffer));
197 196
198 /* output to stdout */ 197 /* output to stdout */