doc: pass AR when building examples
[lttng-ust.git] / doc / examples / easy-ust / sample.c
index 6b5ee630e87b52a7aaee54f9d4091bab9cfe6661..4d19890b5fcd711be9ca964fc0b40cd2a40a9757 100644 (file)
  *
  * The above copyright notice and this permission notice shall be included in
  * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
  */
  
 #include <unistd.h>
@@ -27,7 +35,7 @@ int main(int argc, char **argv)
        int i = 0;
 
        for (i = 0; i < 100000; i++) {
-               tracepoint(sample_component, message, "Hello World\n");
+               tracepoint(sample_component, message, "Hello World");
                usleep(1);
        }
        return 0;
This page took 0.023412 seconds and 4 git commands to generate.