Skip to contentSkip to conversation

patch for supporting SMB on Solaris host

Qemu-devel Ben Taylor 1 participant 1 message Dec 23, 2006

lore
Share & tools
lore

Ben Taylor

author
#0 lore raw
Quoted 8 lines · ---- Lennert Buytenhek

Review

Quoted 4 lines · Ben Taylor
(quoted diff) +2 -2
-    snprintf(smb_cmdline, sizeof(smb_cmdline), "/usr/sbin/smbd -s %s",
-             smb_conf);
+    snprintf(smb_cmdline, sizeof(smb_cmdline), "% -s %s",
+             SMBD_BINARY, smb_conf);

Doesn't look right to me? (s/%/%s/)

Good catch. otherwise, the patch is better?

Ben