summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgrindhold <grindhold@gmx.net>2019-09-21 13:26:37 +0200
committerChristian Grothoff <christian@grothoff.org>2019-09-21 17:44:12 +0200
commit2e2790e1b4a563ef471be1b604c6ebee55f89203 (patch)
tree580cacadc1ac628003be43724810e5875e5de031 /src
parentcac1c211ba0247b978961630b7ee147956b29e0a (diff)
docs: fix typo 'priviledge'→'privilege'
Diffstat (limited to 'src')
-rw-r--r--src/datastore/plugin_datastore_mysql.c2
-rw-r--r--src/dns/gnunet-helper-dns.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c
index c670a6d99..cc5b558ee 100644
--- a/src/datastore/plugin_datastore_mysql.c
+++ b/src/datastore/plugin_datastore_mysql.c
@@ -77,7 +77,7 @@
* Thats it. Note that .my.cnf file is a security risk unless its on
* a safe partition etc. The $HOME/.my.cnf can of course be a symbolic
* link. Even greater security risk can be achieved by setting no
- * password for $USER. Luckily $USER has only priviledges to mess
+ * password for $USER. Luckily $USER has only privileges to mess
* up GNUnet's tables, nothing else (unless you give them more,
* of course).<p>
*
diff --git a/src/dns/gnunet-helper-dns.c b/src/dns/gnunet-helper-dns.c
index 85c72579d..e837d81c6 100644
--- a/src/dns/gnunet-helper-dns.c
+++ b/src/dns/gnunet-helper-dns.c
@@ -499,7 +499,7 @@ set_address4(const char *dev, const char *address, const char *mask)
/**
* Start forwarding to and from the tunnel. This function runs with
- * "reduced" priviledges (saved UID is still 0, but effective UID is
+ * "reduced" privileges (saved UID is still 0, but effective UID is
* the real user ID).
*
* @param fd_tun tunnel FD
@@ -728,7 +728,7 @@ PROCESS_BUFFER:
* 25-39 failed to drop privs and then failed to undo some changes to routing table
* 40 failed to regain privs
* 41-55 failed to regain prisv and then failed to undo some changes to routing table
- * 254 insufficient priviledges
+ * 254 insufficient privileges
* 255 failed to handle kill signal properly
*/
int