Blob Blame History Raw
From bd76166457ec52e45b6f6c223dd05e52b27a57d3 Mon Sep 17 00:00:00 2001
From: "Daniel P. Berrange" <berrange@redhat.com>
Date: Thu, 4 Dec 2014 15:57:05 +0000
Subject: [PATCH] Fix docs for Sys::Virt::Domain::get_time() method

(cherry picked from commit 91e83ebb6c577f1530e4fb8de9d7e85d4bdcbafb)
---
 lib/Sys/Virt/Domain.pm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/Sys/Virt/Domain.pm b/lib/Sys/Virt/Domain.pm
index 728ab1d..60d2232 100644
--- a/lib/Sys/Virt/Domain.pm
+++ b/lib/Sys/Virt/Domain.pm
@@ -473,11 +473,13 @@ the current state.
 
 =back
 
-=item my ($secs, $nsecs) = $dom->get_time($flags=0);
+=item my $time = $dom->get_time($flags=0);
 
 Get the current time of the guest, in seconds and nanoseconds.
 The C<$flags> parameter is currently unused and defaults to
-zero.
+zero. The return value is an array ref with two elements,
+the first contains the time in seconds, the second contains
+the remaining nanoseconds.
 
 =item $dom->set_time($secs, $nsecs, $flags=0);