summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@debian.org>2017-02-03 22:54:32 +0100
committerAlexander Naumov <alexander_naumov@opensuse.org>2017-02-03 22:54:32 +0100
commit6e60d12bb2e587d1af803adf74e68b6c0b3f0dc7 (patch)
tree99d28c404777f31f04db9f071d3df1b41e94230b
parenta8c0d68f669eb17a2bf9d8d97f834f5cabb1dad5 (diff)
downloadscreen-6e60d12bb2e587d1af803adf74e68b6c0b3f0dc7.tar.gz
Fixed some typos found by Lintian
Author: Axel Beckert <abe@debian.org> Bug-Debian: https://bugs.debian.org/741141
-rw-r--r--src/acls.c4
-rw-r--r--src/doc/screen.14
2 files changed, 4 insertions, 4 deletions
diff --git a/src/acls.c b/src/acls.c
index 3b1669c..514e0fc 100644
--- a/src/acls.c
+++ b/src/acls.c
@@ -578,7 +578,7 @@ char *name, *pw1, *pw2;
}
debug2("syslog(LOG_NOTICE, \"screen %s: \"su %s\" ", SockPath, name);
- debug2("%s for \"%s\"\n", sorry ? "failed" : "succeded", (*up)->u_name);
+ debug2("%s for \"%s\"\n", sorry ? "failed" : "succeeded", (*up)->u_name);
#ifndef NOSYSLOG
# ifdef BSD_42
openlog("screen", LOG_PID);
@@ -586,7 +586,7 @@ char *name, *pw1, *pw2;
openlog("screen", LOG_PID, LOG_AUTH);
# endif /* BSD_42 */
syslog(LOG_NOTICE, "%s: \"su %s\" %s for \"%s\"", SockPath, name,
- sorry ? "failed" : "succeded", (*up)->u_name);
+ sorry ? "failed" : "succeeded", (*up)->u_name);
closelog();
#else
debug("NOT LOGGED.\n");
diff --git a/src/doc/screen.1 b/src/doc/screen.1
index 5b14d91..52e9c26 100644
--- a/src/doc/screen.1
+++ b/src/doc/screen.1
@@ -1359,8 +1359,8 @@ non-whitespace character on the line.
\fBB\fP, \fBE\fP move the cursor WORD by WORD (as in vi).
.br
.ti -2n
-.\"\fBf\fP,\fBt\fP, \fBF\fP, \fBT\fP move the cursor forward/backward to the next occurence of the target.
-\fBf/F\fP, \fBt/T\fP move the cursor forward/backward to the next occurence of the target. (eg, '3fy' will
+.\"\fBf\fP,\fBt\fP, \fBF\fP, \fBT\fP move the cursor forward/backward to the next occurrence of the target.
+\fBf/F\fP, \fBt/T\fP move the cursor forward/backward to the next occurrence of the target. (eg, '3fy' will
move the cursor to the 3rd 'y' to the right.)
.br
.ti -2n