diff --git a/qubes-rpc/vm-file-editor.c b/qubes-rpc/vm-file-editor.c index 657d87c..a7eeb86 100644 --- a/qubes-rpc/vm-file-editor.c +++ b/qubes-rpc/vm-file-editor.c @@ -16,7 +16,7 @@ char *gettime() static char retbuf[60]; struct timeval tv; gettimeofday(&tv, NULL); - snprintf(retbuf, sizeof(retbuf), "%lld.%lld", + snprintf(retbuf, sizeof(retbuf), "%lld.%06lld", (long long) tv.tv_sec, (long long) tv.tv_usec); return retbuf; }