diff options
author | Alan Somers <asomers@FreeBSD.org> | 2017-08-25 15:31:55 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2017-08-25 15:31:55 +0000 |
commit | 77a798b30ae43e8aac56a124e159b0b8624f4195 (patch) | |
tree | 94a2a49eef9f2c2f5ccb8d27f072ed0d72de597e /bin/dd/position.c | |
parent | e71fe5ce0af907489aee3dbc07719ba2336639f2 (diff) | |
download | src-77a798b30ae43e8aac56a124e159b0b8624f4195.tar.gz src-77a798b30ae43e8aac56a124e159b0b8624f4195.zip |
Notes
Diffstat (limited to 'bin/dd/position.c')
-rw-r--r-- | bin/dd/position.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dd/position.c b/bin/dd/position.c index d816716456fe..a4f3b46f167e 100644 --- a/bin/dd/position.c +++ b/bin/dd/position.c @@ -207,7 +207,7 @@ pos_out(void) n = write(out.fd, out.db, out.dbsz); if (n == -1) err(1, "%s", out.name); - if ((size_t)n != out.dbsz) + if (n != out.dbsz) errx(1, "%s: write failure", out.name); } break; |