chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
324dfd5
)
timedatectl: replace ",' with ':'
author
Kay Sievers
<kay@vrfy.org>
Thu, 22 Nov 2012 17:50:55 +0000
(18:50 +0100)
committer
Kay Sievers
<kay@vrfy.org>
Thu, 22 Nov 2012 17:50:55 +0000
(18:50 +0100)
src/timedate/timedatectl.c
patch
|
blob
|
history
diff --git
a/src/timedate/timedatectl.c
b/src/timedate/timedatectl.c
index 8d8e12cb6b691021525b9748bb0a57314536f120..1a6cc61170a15cb3267682a640c8e7f73748a155 100644
(file)
--- a/
src/timedate/timedatectl.c
+++ b/
src/timedate/timedatectl.c
@@
-174,7
+174,7
@@
static void print_status_info(StatusInfo *i) {
zero(tm);
assert_se(strftime(b, sizeof(b), "%a, %Y-%m-%d %H:%M:%S %Z", localtime_r(&tc, &tm)) > 0);
char_array_0(b);
zero(tm);
assert_se(strftime(b, sizeof(b), "%a, %Y-%m-%d %H:%M:%S %Z", localtime_r(&tc, &tm)) > 0);
char_array_0(b);
- printf(" Last DST change
,
DST became %s\n"
+ printf(" Last DST change
:
DST became %s\n"
" %s\n"
" %s\n",
is_dstc ? "active" : "inactive", a, b);
" %s\n"
" %s\n",
is_dstc ? "active" : "inactive", a, b);
@@
-187,7
+187,7
@@
static void print_status_info(StatusInfo *i) {
zero(tm);
assert_se(strftime(b, sizeof(b), "%a, %Y-%m-%d %H:%M:%S %Z", localtime_r(&tn, &tm)) > 0);
char_array_0(b);
zero(tm);
assert_se(strftime(b, sizeof(b), "%a, %Y-%m-%d %H:%M:%S %Z", localtime_r(&tn, &tm)) > 0);
char_array_0(b);
- printf(" Next DST change
,
DST will become %s, the clock will jump %s\n"
+ printf(" Next DST change
:
DST will become %s, the clock will jump %s\n"
" %s\n"
" %s\n",
is_dstn ? "active" : "inactive", jump_str(dn, s, sizeof(s)), a, b);
" %s\n"
" %s\n",
is_dstn ? "active" : "inactive", jump_str(dn, s, sizeof(s)), a, b);