hwclock: internationalizing the message of the used interface

In addition, do it in a single sentence instead of in two fragments.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
This commit is contained in:
Benno Schulenberg 2014-01-26 22:32:15 +01:00 committed by Karel Zak
parent ad1d426aea
commit b2d97db8c8
4 changed files with 4 additions and 4 deletions

View File

@ -649,7 +649,7 @@ static int get_permissions_cmos(void)
}
static struct clock_ops cmos = {
"direct I/O instructions to ISA clock",
N_("Using direct I/O instructions to ISA clock."),
get_permissions_cmos,
read_hardware_clock_cmos,
set_hardware_clock_cmos,

View File

@ -143,7 +143,7 @@ static int get_permissions_kd(void)
}
static struct clock_ops kd = {
"KDGHWCLK interface to m68k clock",
N_("Using the KDGHWCLK interface to m68k clock."),
get_permissions_kd,
read_hardware_clock_kd,
set_hardware_clock_kd,

View File

@ -397,7 +397,7 @@ static int get_permissions_rtc(void)
}
static struct clock_ops rtc = {
"/dev interface to clock",
N_("Using the /dev interface to the clock."),
get_permissions_rtc,
read_hardware_clock_rtc,
set_hardware_clock_rtc,

View File

@ -1140,7 +1140,7 @@ static void determine_clock_access_method(const bool user_requests_ISA)
if (debug) {
if (ur)
printf(_("Using %s.\n"), ur->interface_name);
puts(_(ur->interface_name));
else
printf(_("No usable clock interface found.\n"));
}