lkml.org 
[lkml]   [2018]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH][next] selftests: fix spelling mistake: "desciptor" -> "descriptor"
Date
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in error message text and re-adjust
break in literal string to fit into 80 char wide format.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
tools/testing/selftests/filesystems/devpts_pts.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/filesystems/devpts_pts.c b/tools/testing/selftests/filesystems/devpts_pts.c
index b9055e974289..32addb696150 100644
--- a/tools/testing/selftests/filesystems/devpts_pts.c
+++ b/tools/testing/selftests/filesystems/devpts_pts.c
@@ -279,8 +279,8 @@ int main(int argc, char *argv[])
int ret;

if (!isatty(STDIN_FILENO)) {
- fprintf(stderr, "Standard input file desciptor is not attached "
- "to a terminal. Skipping test\n");
+ fprintf(stderr, "Standard input file descriptor is not "
+ "attached to a terminal. Skipping test\n");
exit(EXIT_FAILURE);
}

--
2.15.1
\
 
 \ /
  Last update: 2018-03-16 15:24    [W:0.021 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site