X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstream-unix.c;h=14680ac59c22560f6f0c89da832b172702ce5b5d;hb=f137ed099e3feaa4a9d8c5dc5f5234945451795e;hp=20aa5b482876c373f7a7386be4f810ee7e683ce8;hpb=5136ce492c414f377f7be9ae32b259abb9f76580;p=openvswitch diff --git a/lib/stream-unix.c b/lib/stream-unix.c index 20aa5b48..14680ac5 100644 --- a/lib/stream-unix.c +++ b/lib/stream-unix.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,7 +35,7 @@ #include "stream-fd.h" #include "vlog.h" -VLOG_DEFINE_THIS_MODULE(stream_unix) +VLOG_DEFINE_THIS_MODULE(stream_unix); /* Active UNIX socket. */ @@ -99,7 +99,7 @@ punix_open(const char *name OVS_UNUSED, char *suffix, return error; } - return new_fd_pstream("punix", fd, punix_accept, + return new_fd_pstream(name, fd, punix_accept, xstrdup(suffix), pstreamp); }