On Tue, Oct 26, 2010 at 08:40:46AM +0900, KAMEZAWA Hiroyuki wrote: > On Mon, 25 Oct 2010 16:18:07 +0100 > "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote: > > > > + } else { > > > + const char *prog = qemudSaveCompressionTypeToString(compress); > > > + const char *args[] = { > > > + prog, > > > + "-c", > > > + NULL, > > > + }; > > > + ret = qemuMonitorMigrateToFile(priv->mon, > > > + QEMU_MONITOR_MIGRATE_BACKGROUND, > > > + args, path, 0); > > > + } > > > > The whitespace indentation looks wrong here, seems to be using > > tabs instead of spaces. You can verify coding style by running > > 'make syntax-check' > > > > Ok. and check my .emacs.. This is what I use in .emacs (defun libvirt-c-mode () "C mode with adjusted defaults for use with libvirt." (interactive) (c-set-style "K&R") (setq indent-tabs-mode nil) ; indent using spaces, not TABs (setq c-indent-level 4) (setq c-basic-offset 4)) (add-hook 'c-mode-hook '(lambda () (if (string-match "/libvirt" (buffer-file-name)) (libvirt-c-mode)))) Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list