Browse code

Fix typo in error message

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

Bryan Boreham authored on 2015/11/09 03:05:34
Showing 1 changed files
... ...
@@ -223,10 +223,10 @@ func (daemon *Daemon) populateCommand(c *Container, env []string) error {
223 223
 		ipc.HostIpc = c.hostConfig.IpcMode.IsHost()
224 224
 		if ipc.HostIpc {
225 225
 			if _, err := os.Stat("/dev/shm"); err != nil {
226
-				return fmt.Errorf("/dev/shm is not mounted, but must be for --host=ipc")
226
+				return fmt.Errorf("/dev/shm is not mounted, but must be for --ipc=host")
227 227
 			}
228 228
 			if _, err := os.Stat("/dev/mqueue"); err != nil {
229
-				return fmt.Errorf("/dev/mqueue is not mounted, but must be for --host=ipc")
229
+				return fmt.Errorf("/dev/mqueue is not mounted, but must be for --ipc=host")
230 230
 			}
231 231
 			c.ShmPath = "/dev/shm"
232 232
 			c.MqueuePath = "/dev/mqueue"