From 29a30c44bb8cecb341df211bcb3b330f515c9003 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 3 Jan 2015 10:16:12 +0100 Subject: procfs: Fix typos in comments (found by codespell) Signed-off-by: Stefan Weil --- procfs/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'procfs/process.c') diff --git a/procfs/process.c b/procfs/process.c index a9b1a597..2255bcdc 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 */ "%lu %lu %lu %lu " /* page fault counts */ "%lu %lu %ld %ld " /* user/sys times, in sysconf(_SC_CLK_TCK) */ -- cgit v1.2.3