*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <config.h>
#include <unistd.h>
#include <fcntl.h>
-#include "../src/guestfs_protocol.h"
+#include "guestfs_protocol.h"
#include "daemon.h"
#include "actions.h"
return -1;
}
n += r;
+ notify_progress ((uint64_t) n, (uint64_t) len_sz);
}
if (close (fd) == -1) {
return -1;
}
n += wrlen;
+ notify_progress ((uint64_t) n, (uint64_t) len_sz);
}
if (close (fd) == -1) {