commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 21/37: procfs: Fix typos in comments (found by codespell)


From: Samuel Thibault
Subject: [hurd] 21/37: procfs: Fix typos in comments (found by codespell)
Date: Mon, 09 Feb 2015 09:59:10 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to annotated tag upstream/hurd/0.5.git20150208
in repository hurd.

commit 29a30c44bb8cecb341df211bcb3b330f515c9003
Author: Stefan Weil <address@hidden>
Date:   Sat Jan 3 10:16:12 2015 +0100

    procfs: Fix typos in comments (found by codespell)
    
    Signed-off-by: Stefan Weil <address@hidden>
---
 procfs/TODO      | 2 +-
 procfs/main.c    | 2 +-
 procfs/process.c | 4 ++--
 procfs/procfs.h  | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/procfs/TODO b/procfs/TODO
index 952d67b..90e4420 100644
--- a/procfs/TODO
+++ b/procfs/TODO
@@ -12,7 +12,7 @@ Improvements and new features
   keeps the inner interface simple and preserves the read/readdir semantics
   (performance is probably not critical for a proc filesystem.)
   One way would be to add an (optional) "needed_length" field to
-  procfs_node_ops, and arrange to pass a sufficent buffer in (*contents,
+  procfs_node_ops, and arrange to pass a sufficient buffer in (*contents,
   *contents_len) when get_contents is called. Then the user-provided buffer
   might be used directly under some circumstances.
 
diff --git a/procfs/main.c b/procfs/main.c
index 320f55b..d07dea8 100644
--- a/procfs/main.c
+++ b/procfs/main.c
@@ -154,7 +154,7 @@ struct argp_option common_options[] = {
       "purposes.  If PID is omitted, \"self\" will point to init.  "
       "(default: no self link)" },
   { "kernel-process", 'k', "PID", 0,
-      "Process identifier for the kernel, used to retreive its command "
+      "Process identifier for the kernel, used to retrieve its command "
       "line, as well as the global up and idle times. "
       "(default: " STR (OPT_KERNEL_PID) ")" },
   { "compatible", 'c', NULL, 0,
diff --git a/procfs/process.c b/procfs/process.c
index a9b1a59..2255bcd 100644
--- a/procfs/process.c
+++ b/procfs/process.c
@@ -33,7 +33,7 @@
    contain.  A libps proc_stat structure is created for each process
    node, and is used by the individual file content generators as a
    source of information.  Each possible file (cmdline, environ, ...) is
-   decribed in a process_file_desc structure, which specifies which bits
+   described in a process_file_desc structure, which specifies which bits
    of information (ie. libps flags) it needs, and what function should
    be used to generate the file's contents.
 
@@ -235,7 +235,7 @@ process_file_gc_stat (struct proc_stat *ps, char **contents)
   return asprintf (contents,
       "%d (%.*s) %c "          /* pid, command, state */
       "%d %d %d "              /* ppid, pgid, session */
-      "%d %d "                 /* controling tty stuff */
+      "%d %d "                 /* controlling tty stuff */
       "%u "                    /* flags, as defined by <linux/sched.h> */
       "%lu %lu %lu %lu "       /* page fault counts */
       "%lu %lu %ld %ld "       /* user/sys times, in sysconf(_SC_CLK_TCK) */
diff --git a/procfs/procfs.h b/procfs/procfs.h
index d04bbad..f2fb30e 100644
--- a/procfs/procfs.h
+++ b/procfs/procfs.h
@@ -81,7 +81,7 @@ void procfs_node_chtype (struct node *np, mode_t type);
 /* Interface for the libnetfs side. */
 
 /* Get the inode number which will be given to a child of NP named FILENAME.
-   This allows us to retreive them for readdir() without creating the
+   This allows us to retrieve them for readdir() without creating the
    corresponding child nodes.  */
 ino64_t procfs_make_ino (struct node *np, const char *filename);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]