simple spelling changes

Fix obvious spelling mistakes in comments (and one error message).

Yes, this is trivial but I saw one while reviewing some of the code
and after that decided to run code through some tools.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Stephen Hemminger 2015-11-15 10:15:40 -08:00 committed by Dirk Hohndel
parent 84b7a37869
commit 6cb30ba1b6
5 changed files with 24 additions and 24 deletions

View file

@ -85,7 +85,7 @@ static int fill_samples(struct sample *s, int max_d, int avg_d, int max_t, doubl
}
/* we have no average depth; instead of making up a random average depth
* we should assume either a PADI recrangular profile (for short and/or
* we should assume either a PADI rectangular profile (for short and/or
* shallow dives) or more reasonably a six point profile with a 3 minute
* safety stop at 5m */
static void fill_samples_no_avg(struct sample *s, int max_d, int max_t, double slope)
@ -129,7 +129,7 @@ struct divecomputer *fake_dc(struct divecomputer *dc)
/*
* We want to fake the profile so that the average
* depth ends up correct. However, in the absense of
* depth ends up correct. However, in the absence of
* a reasonable average, let's just make something
* up. Note that 'avg_d == max_d' is _not_ a reasonable
* average.