summaryrefslogtreecommitdiff
path: root/floppyd_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'floppyd_io.c')
-rw-r--r--floppyd_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/floppyd_io.c b/floppyd_io.c
index d884f94..9d1b9d1 100644
--- a/floppyd_io.c
+++ b/floppyd_io.c
@@ -470,7 +470,7 @@ static int get_host_and_port_and_drive(const char* name, char** hostname,
p++;
*drive = 0;
if(*p >= '0' && *p <= '9')
- *drive = strtoi(p, &p, 0);
+ *drive = strtosi(p, &p, 0);
*display = strdup(newname);