Skip to content

Commit 7d0d209

Browse files
author
XianJianbang
committed
fix compilation error: string was broken two lines
1 parent 5945094 commit 7d0d209

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chapter03/mmap_example.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ main(int argc, char *argv[])
9191
close(fd);
9292

9393
/* store a string to the Persistent Memory */
94-
strcpy(pmaddr, "This is new data written to the
95-
file");
94+
strcpy(pmaddr, "This is new data written to the file");
9695

9796
/*
9897
* Simplest way to flush is to call msync().

0 commit comments

Comments
 (0)