]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
fix typo in comment
authorMichael Schroeder <mls@suse.de>
Fri, 28 Aug 2015 13:52:42 +0000 (15:52 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 28 Aug 2015 13:52:42 +0000 (15:52 +0200)
examples/p5solv

index 1f608cc77e4d78ce85b909c7eb537350e2a2e590..0a1dbb0baf40dff2235f351b168a70bd49b97b9b 100755 (executable)
@@ -87,7 +87,7 @@ sub download {
   $url =~ s!/$!!;
   $url .= "/$file";
   open(my $f, '+>', undef) || die;
-  fcntl($f, Fcntl::F_SETFD, 0);                # turn of CLOEXEC
+  fcntl($f, Fcntl::F_SETFD, 0);                # turn off CLOEXEC
   my $st = system('curl', '-f', '-s', '-L', '-o', "/dev/fd/" . fileno($f), '--', $url);
   if (POSIX::lseek(fileno($f), 0, POSIX::SEEK_END) == 0 && ($st == 0 || !$chksum)) {
     return undef;