From 2fbb4b03dd8708947010b8c37804f06d669f6917 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mar 25 2013 16:20:27 +0000 Subject: fix options in man page (#856521) --- diff --git a/adjtimex-manopts.patch b/adjtimex-manopts.patch new file mode 100644 index 0000000..9175a77 --- /dev/null +++ b/adjtimex-manopts.patch @@ -0,0 +1,21 @@ +diff -up adjtimex-1.29/adjtimex.8.manopts adjtimex-1.29/adjtimex.8 +--- adjtimex-1.29/adjtimex.8.manopts 2009-03-12 01:31:07.000000000 +0100 ++++ adjtimex-1.29/adjtimex.8 2013-03-25 17:19:10.243085242 +0100 +@@ -106,7 +106,7 @@ follow. + .RI \-i " tim" + .RI \-\-interval " tim" + .RI \-l " file" +-.RI \-\-logfile " file" ++.RI \-\-log " file" + .RI \-h " timeserver" + .RI \-\-host " timeserver" + \-w +@@ -329,7 +329,7 @@ To correct the rest of the error, you co + in rc.local would approximately correct the system clock: + + .nf +- adjtimex --tick 9999 --freq 485452 ++ adjtimex --tick 9999 --frequency 485452 + .fi + .PP + .\"}}} diff --git a/adjtimex.spec b/adjtimex.spec index 504e6b0..68438b0 100644 --- a/adjtimex.spec +++ b/adjtimex.spec @@ -5,6 +5,7 @@ Release: 5%{?dist} License: GPLv2+ Group: System Environment/Base Source: http://ftp.debian.org/debian/pool/main/a/adjtimex/%{name}_%{version}.orig.tar.gz +Patch1: adjtimex-manopts.patch %description Adjtimex provides raw access to kernel time variables. On standalone @@ -16,6 +17,7 @@ adjtimex to view kernel time variables. %prep %setup -q +%patch1 -p1 -b .manopts %build %configure