aboutsummaryrefslogtreecommitdiff
path: root/src/sg_dd.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2017-10-24 05:02:41 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2017-10-24 05:02:41 +0000
commit2c62606e8ed7e6901f1e8578b7258d7f45dabff4 (patch)
treec8d2b8a7c62f7cd610009c07abb414aad5005d8e /src/sg_dd.c
parent9a9577a3b7f0b0c82ad0e77b9f16b3afa238322c (diff)
downloadsg3_utils-2c62606e8ed7e6901f1e8578b7258d7f45dabff4.tar.gz
sg_write_atomic: change lseek64() to lseek() for FreeBSD; document SG_LIB_WILD_RESID
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@723 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_dd.c')
-rw-r--r--src/sg_dd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sg_dd.c b/src/sg_dd.c
index 7bb5eedf..736d1e05 100644
--- a/src/sg_dd.c
+++ b/src/sg_dd.c
@@ -48,9 +48,7 @@
#include <sys/time.h>
#include <sys/file.h>
#include <sys/sysmacros.h>
-#ifndef major
-#include <sys/types.h>
-#endif
+#include <sys/types.h> /* needed for lseek64() */
#include <linux/fs.h> /* <sys/mount.h> */
#include <linux/major.h>
@@ -64,7 +62,7 @@
#include "sg_unaligned.h"
#include "sg_pr2serr.h"
-static const char * version_str = "5.91 20171010";
+static const char * version_str = "5.92 20171023";
#define ME "sg_dd: "