git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/generator.ml: Change all `String "device"' to `Device "device"'.
[libguestfs.git]
/
daemon
/
zero.c
diff --git
a/daemon/zero.c
b/daemon/zero.c
index
ba87e68
..
864e9a6
100644
(file)
--- a/
daemon/zero.c
+++ b/
daemon/zero.c
@@
-33,8
+33,6
@@
do_zero (char *device)
int fd, i;
char buf[4096];
- RESOLVE_DEVICE (device, return -1);
-
fd = open (device, O_WRONLY);
if (fd == -1) {
reply_with_perror ("%s", device);