Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267594
b: refs/heads/master
c: 549fb10
h: refs/heads/master
v: v3
  • Loading branch information
Tobias Klauser authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent efb7ee7 commit 0606cfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 97c451ca1094d9d1ed1f3bf7c7a8b65b783e37e0
refs/heads/master: 549fb1009755a6ca3cef30914b8c3529ca711947
4 changes: 3 additions & 1 deletion trunk/drivers/staging/usbip/userspace/src/usbip_attach.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ static int record_connection(char *host, char *port, char *busid, int rhport)
char buff[MAX_BUFF+1];
int ret;

mkdir(VHCI_STATE_PATH, 0700);
ret = mkdir(VHCI_STATE_PATH, 0700);
if (ret < 0)
return -1;

snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport);

Expand Down

0 comments on commit 0606cfe

Please sign in to comment.