> + int uptime = jiffies / HZ;
> + printk(KERN_EMERG "\nUptime: %dh %dm %ds\n",
> + (uptime/60)/60, (uptime/60)%60, uptime%60);
> + return uptime;
What about the days field ;)
I have to admit this diff strikes me as 'silly'. Add a printf to
the halt command ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:25 EST