summaryrefslogtreecommitdiff
path: root/hwclock/hwclock.c
diff options
context:
space:
mode:
authorPedro Ribeiro <p.m42.ribeiro@gmail.com>2008-10-03 08:57:43 +0200
committerKarel Zak <kzak@redhat.com>2008-10-03 08:57:43 +0200
commitf9e151dddb7c1e4e0590c3988671c4f546c49404 (patch)
tree7131013a38913e1ccfef0f18bfdc32b0f2fe859b /hwclock/hwclock.c
parentadd5133f4ad5136aac3ce7627e615d14893d0aeb (diff)
downloadutil-linux-old-f9e151dddb7c1e4e0590c3988671c4f546c49404.tar.gz
hwclock: several strings without gettext calls
Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'hwclock/hwclock.c')
-rw-r--r--hwclock/hwclock.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/hwclock/hwclock.c b/hwclock/hwclock.c
index 48b47ade..2749c0fc 100644
--- a/hwclock/hwclock.c
+++ b/hwclock/hwclock.c
@@ -922,18 +922,18 @@ save_adjtime(const struct adjtime adjtime, const bool testing) {
adjfile = fopen(adj_file_name, "w");
if (adjfile == NULL) {
- outsyserr("Could not open file with the clock adjustment parameters "
- "in it (%s) for writing", adj_file_name);
+ outsyserr(_("Could not open file with the clock adjustment parameters "
+ "in it (%s) for writing"), adj_file_name);
err = 1;
} else {
if (fputs(newfile, adjfile) < 0) {
- outsyserr("Could not update file with the clock adjustment "
- "parameters (%s) in it", adj_file_name);
+ outsyserr(_("Could not update file with the clock adjustment "
+ "parameters (%s) in it"), adj_file_name);
err = 1;
}
if (fclose(adjfile) < 0) {
- outsyserr("Could not update file with the clock adjustment "
- "parameters (%s) in it", adj_file_name);
+ outsyserr(_("Could not update file with the clock adjustment "
+ "parameters (%s) in it"), adj_file_name);
err = 1;
}
}
@@ -987,8 +987,8 @@ do_adjustment(struct adjtime *adjtime_p,
adjtime_p->dirty = TRUE;
} else if (adjtime_p->last_adj_time == 0) {
if (debug)
- printf("Not setting clock because last adjustment time is zero, "
- "so history is bad.");
+ printf(_("Not setting clock because last adjustment time is zero, "
+ "so history is bad."));
} else {
int adjustment;
/* Number of seconds we must insert in the Hardware Clock */