Bug 121418

Summary: [patch] ruptime(1) does not show correct information
Product: Base System Reporter: Atsuo Ohki <ohki>
Component: binAssignee: Antoine Brodin <antoine>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Atsuo Ohki 2008-03-06 06:00:01 UTC
ruptime command give "no hosts in XXX",
while it shoud be.

Fix: variable `now' is used without initialization.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2008-03-08 22:24:43 UTC
Responsible Changed
From-To: freebsd-bugs->antoine

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-03-17 18:31:52 UTC
antoine     2008-03-17 18:31:43 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/ruptime      ruptime.c 
  Log:
  Initialize variable "now" before using it (it is used by the LEFTEARTH
  macro)
  
  PR:             121418
  Submitted by:   Atsuo Ohki
  Approved by:    rwatson (mentor)
  MFC after:      1 month
  
  Revision  Changes    Path
  1.19      +1 -1      src/usr.bin/ruptime/ruptime.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2008-03-17 18:43:02 UTC
State Changed
From-To: open->patched

Patched in HEAD, thanks.
Comment 4 dfilter service freebsd_committer freebsd_triage 2008-04-26 18:36:38 UTC
antoine     2008-04-26 17:36:33 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    usr.bin/ruptime      ruptime.c 
  Log:
  MFC to RELENG_7:
    Initialize variable "now" before using it (it is used by the LEFTEARTH
    macro)
  
    PR:             121418
    Submitted by:   Atsuo Ohki
    Approved by:    rwatson (mentor)
    MFC after:      1 month
  
  Revision  Changes    Path
  1.18.2.1  +1 -1      src/usr.bin/ruptime/ruptime.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Antoine Brodin freebsd_committer freebsd_triage 2008-04-26 18:41:19 UTC
State Changed
From-To: patched->closed

Close: fix committed in HEAD and RELENG_7. 
Thanks for the report!