diff options
Diffstat (limited to 'util-linux/mdev.c')
-rw-r--r-- | util-linux/mdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index ebf83d1a3..dbbcbc655 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c | |||
@@ -963,7 +963,7 @@ static void load_firmware(const char *firmware, const char *sysfs_path) | |||
963 | static char *curtime(void) | 963 | static char *curtime(void) |
964 | { | 964 | { |
965 | struct timeval tv; | 965 | struct timeval tv; |
966 | gettimeofday(&tv, NULL); | 966 | xgettimeofday(&tv); |
967 | sprintf( | 967 | sprintf( |
968 | strftime_HHMMSS(G.timestr, sizeof(G.timestr), &tv.tv_sec), | 968 | strftime_HHMMSS(G.timestr, sizeof(G.timestr), &tv.tv_sec), |
969 | ".%06u", | 969 | ".%06u", |