Fix typo

parent 8bfcb981
...@@ -79,7 +79,7 @@ static char *lxclock_name(const char *p, const char *n) ...@@ -79,7 +79,7 @@ static char *lxclock_name(const char *p, const char *n)
if (ret == 0) { if (ret == 0) {
// best effort. If this fails, ignore it // best effort. If this fails, ignore it
if (chown(dest, sb.st_uid, sb.st_gid) < 0) if (chown(dest, sb.st_uid, sb.st_gid) < 0)
ERROR("Failed ot set owner for lockdir %s\n", dest); ERROR("Failed to set owner for lockdir %s\n", dest);
if (chmod(dest, sb.st_mode) < 0) if (chmod(dest, sb.st_mode) < 0)
ERROR("Failed to set mode for lockdir %s\n", dest); ERROR("Failed to set mode for lockdir %s\n", dest);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment