From 71be8a8b740a8103302be8639537ff651544f453 Mon Sep 17 00:00:00 2001 From: David Betz Date: Tue, 27 Jan 2015 20:06:05 -0500 Subject: [PATCH] More prefix fixes. --- p1load.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p1load.c b/p1load.c index a24b75c..10b5ceb 100644 --- a/p1load.c +++ b/p1load.c @@ -136,7 +136,7 @@ int main(int argc, char *argv[]) #endif #if defined(LINUX) static char buf[64]; - sprintf(buf, "%s%d", PORT_PREFIX, atoi(port)); + sprintf(buf, "/dev/%s%d", PORT_PREFIX, atoi(port)); port = buf; #endif } @@ -144,7 +144,7 @@ int main(int argc, char *argv[]) #if defined(MACOSX) if (port[0] != '/') { static char buf[64]; - sprintf(buf, "%s-%s", PORT_PREFIX, port); + sprintf(buf, "/dev/%s-%s", PORT_PREFIX, port); port = buf; } #endif