=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/kdump/ktrstruct.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/kdump/ktrstruct.c 2013/08/22 02:02:33 1.1 --- src/usr.bin/kdump/ktrstruct.c 2013/09/09 05:10:32 1.2 *************** *** 1,4 **** ! /* $OpenBSD: ktrstruct.c,v 1.1 2013/08/22 02:02:33 guenther Exp $ */ /*- * Copyright (c) 1988, 1993 --- 1,4 ---- ! /* $OpenBSD: ktrstruct.c,v 1.2 2013/09/09 05:10:32 guenther Exp $ */ /*- * Copyright (c) 1988, 1993 *************** *** 151,159 **** static void print_timespec(const struct timespec *tsp, int relative) { ! print_time(tsp->tv_sec, relative); ! if (tsp->tv_nsec != 0) ! printf(".%09ld", tsp->tv_nsec); } static void --- 151,165 ---- static void print_timespec(const struct timespec *tsp, int relative) { ! if (tsp->tv_nsec == UTIME_NOW) ! printf("UTIME_NOW"); ! else if (tsp->tv_nsec == UTIME_OMIT) ! printf("UTIME_OMIT"); ! else { ! print_time(tsp->tv_sec, relative); ! if (tsp->tv_nsec != 0) ! printf(".%09ld", tsp->tv_nsec); ! } } static void