Whamcloud - gitweb
LU-2697 osp: remove trailing newline on thread names
[fs/lustre-release.git] / lustre / osp / osp_sync.c
index 0616e87..fc67e5c 100644 (file)
@@ -844,7 +844,7 @@ static int osp_sync_thread(void *_arg)
                RETURN(rc);
        }
 
-       sprintf(pname, "osp-syn-%u\n", d->opd_index);
+       sprintf(pname, "osp-syn-%u", d->opd_index);
        cfs_daemonize(pname);
 
        spin_lock(&d->opd_syn_lock);