]> git.proxmox.com Git - pve-cluster.git/commitdiff
Fix #1849: typos: aquire -> acquire
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 31 Jul 2018 09:40:42 +0000 (11:40 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 31 Jul 2018 09:40:42 +0000 (11:40 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
data/PVE/Cluster.pm
data/src/pmxcfs.c

index d4b2c900a02f0c8886a4932b064a3ba16bfa73db..35e0b86559dc869fe975b17d79f0643804600925 100644 (file)
@@ -874,7 +874,7 @@ my $cfs_lock = sub {
     my $res;
     my $got_lock = 0;
 
-    # this timeout is for aquire the lock
+    # this timeout is for acquire the lock
     $timeout = 10 if !$timeout;
 
     my $filename = "$lockdir/$lockid";
@@ -899,7 +899,7 @@ my $cfs_lock = sub {
 
            $timeout_err->() if $timeout <= 0;
 
-           print STDERR "trying to aquire cfs lock '$lockid' ...\n";
+           print STDERR "trying to acquire cfs lock '$lockid' ...\n";
            utime (0, 0, $filename); # cfs unlock request
            sleep(1);
        }
index de6163ab991872951c58944190179adc70be2b92..b4bc08fe16df6dca8cc9587ba2344c4c5487dd64 100644 (file)
@@ -872,11 +872,11 @@ int main(int argc, char *argv[])
        for (int i = 10; i >= 0; i--) {
                if (flock(lockfd, LOCK_EX|LOCK_NB) != 0) {
                        if (!i) {
-                               cfs_critical("unable to aquire pmxcfs lock: %s", strerror (errno));
+                               cfs_critical("unable to acquire pmxcfs lock: %s", strerror (errno));
                                goto err;
                        }
                        if (i == 10)
-                               cfs_message("unable to aquire pmxcfs lock - trying again");
+                               cfs_message("unable to acquire pmxcfs lock - trying again");
 
                        sleep(1);
                }