chiark / gitweb /
fix spelling
[elogind.git] / libudev / libudev-util-private.c
index 021734d77245af918b5c1ae95a6ed3c1ae22efe9..3641b3630f8e4ef1fef56c905937cbb3daf043d7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * libudev - interface to udev device information
  *
- * Copyright (C) 2004-2009 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2003-2009 Kay Sievers <kay.sievers@vrfy.org>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -96,7 +96,7 @@ int util_delete_path(struct udev *udev, const char *path)
 }
 
 /* Reset permissions on the device node, before unlinking it to make sure,
- * that permisions of possible hard links will be removed too.
+ * that permissions of possible hard links will be removed too.
  */
 int util_unlink_secure(struct udev *udev, const char *filename)
 {
@@ -172,7 +172,7 @@ gid_t util_lookup_group(struct udev *udev, const char *group)
                        break;
                errno = 0;
                getgrnam_r(group, &grbuf, buf, buflen, &gr);
-               if (gr != NULL) 
+               if (gr != NULL)
                        gid = gr->gr_gid;
                else if (errno == ERANGE) {
                        buflen *= 2;
@@ -342,7 +342,7 @@ int util_run_program(struct udev *udev, const char *command, char **envp,
                }
                execve(argv[0], argv, envp);
                if (errno == ENOENT || errno == ENOTDIR) {
-                       /* may be on a filesytem which is not mounted right now */
+                       /* may be on a filesystem which is not mounted right now */
                        info(udev, "program '%s' not found\n", argv[0]);
                } else {
                        /* other problems */