Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206156
b: refs/heads/master
c: 157b1a2
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Jul 29, 2010
1 parent b8e4ef9 commit 78fdc9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47916be4e28c3d6fdb97dd8fb887d1d9b3145b9d
refs/heads/master: 157b1a23856b9fb7cc3d19fa2ddc650b502bab3d
4 changes: 3 additions & 1 deletion trunk/kernel/debug/kdb/kdb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2440,6 +2440,7 @@ static void kdb_sysinfo(struct sysinfo *val)
*/
static int kdb_summary(int argc, const char **argv)
{
struct timespec now;
struct kdb_tm tm;
struct sysinfo val;

Expand All @@ -2454,7 +2455,8 @@ static int kdb_summary(int argc, const char **argv)
kdb_printf("domainname %s\n", init_uts_ns.name.domainname);
kdb_printf("ccversion %s\n", __stringify(CCVERSION));

kdb_gmtime(&xtime, &tm);
now = __current_kernel_time();
kdb_gmtime(&now, &tm);
kdb_printf("date %04d-%02d-%02d %02d:%02d:%02d "
"tz_minuteswest %d\n",
1900+tm.tm_year, tm.tm_mon+1, tm.tm_mday,
Expand Down

0 comments on commit 78fdc9d

Please sign in to comment.