X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fntfs.c;h=85deb654e035285b80f29422a641417018164c38;hp=70826df89364f715f8ee0ba9995278151a832369;hb=bdfb1bddffa48cfb486331166b8aed91637cb0d6;hpb=3de234656bc61a2d35b0f1a9ccb1e6ef7535166b diff --git a/daemon/ntfs.c b/daemon/ntfs.c index 70826df..85deb65 100644 --- a/daemon/ntfs.c +++ b/daemon/ntfs.c @@ -1,5 +1,5 @@ /* libguestfs - the guestfsd daemon - * Copyright (C) 2009 Red Hat Inc. + * Copyright (C) 2009 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,8 +33,6 @@ do_ntfs_3g_probe (int rw, const char *device) int r; const char *rw_flag; - IS_DEVICE (device, -1); - rw_flag = rw ? "-w" : "-r"; r = commandr (NULL, &err, "ntfs-3g.probe", rw_flag, device, NULL);