Skip to content

Commit

Permalink
add LICENSE file as it is a Nokia Legal requirement
Browse files Browse the repository at this point in the history
git-svn-id: https://projects.maemo.org/svn/dsm/usb_moded/trunk@19856 db81c003-b5ea-0310-aa99-ed7f6e1db739
  • Loading branch information
Philippe De Swert committed Mar 31, 2011
1 parent 1a94388 commit 23b8acc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/usb_moded-modesetting.c
Expand Up @@ -132,14 +132,14 @@ umount: command = g_strconcat("mount | grep ", mounts[i], NULL);

/* activate mounts */
for(i=0 ; mounts[i] != NULL; i++)
{
sprintf(command2, "echo %s > /sys/devices/platform/musb_hdrc/gadget/gadget-lun%d/file", mounts[i], i);
{
sprintf(command2, "echo %i > /sys/devices/platform/musb_hdrc/gadget/gadget-lun%d/nofua", fua, i);
log_debug("usb lun = %s active\n", command2);
system(command2);
sprintf(command2, "echo %i > /sys/devices/platform/musb_hdrc/gadget/gadget-lun%d/nofua", fua, i);
sprintf(command2, "echo %s > /sys/devices/platform/musb_hdrc/gadget/gadget-lun%d/file", mounts[i], i);
log_debug("usb lun = %s active\n", command2);
system(command2);
}
}
g_strfreev(mounts);
}

Expand Down

0 comments on commit 23b8acc

Please sign in to comment.