components/ntp/patches/ntpwait.patch
branchs11u1-sru
changeset 2795 a8138e69c041
parent 2794 a5bcbe239323
child 2800 663f38ad85e5
equal deleted inserted replaced
2794:a5bcbe239323 2795:a8138e69c041
     1 --- scripts/ntp-wait.in.orig	Thu May 14 06:34:42 2009
       
     2 +++ scripts/ntp-wait.in	Thu May 14 06:15:13 2009
       
     3 @@ -20,8 +20,8 @@
       
     4      while(<Q>) {
       
     5        chomp;
       
     6        # the first line should be similar to:
       
     7 -      # associd=0 status=0645 leap_none, sync_ntp, ...
       
     8 -      if (/^associd=0 status=(\S{4}) (\S+), (\S+),/) {
       
     9 +      # status=0645 leap_none, sync_ntp, ...
       
    10 +      if (/status=(\S{4}) (\S+), (\S+),/) {
       
    11  	my $status = $1;
       
    12  	my $leap = $2;
       
    13  	my $sync = $3;